joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0410
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ff321
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x4b044d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004f39f6
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004f2d3e
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.004a93e0
lea ecx, [esp + 8]
call fcn.004f3ca1
lea ecx, [esp + 0x30]
call fcn.004f2ea2
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004f2d3e
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.004a9850
lea ecx, [esp + 0x74]
call fcn.004f2ea2
lea ecx, [esp + 8]
call fcn.004f3ca2
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.004a6ff0
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.004a92f0
mov ecx, esi
call fcn.004a9ed0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.004a92f0
mov ecx, esi
call fcn.004a9ed0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.004a92f0
mov ecx, esi
call fcn.004a9ed0
mov ecx, dword [edi + 0x5c]
call fcn.004a67d0
push eax
mov ecx, esi
call fcn.004a67e0
mov ecx, dword [edi + 0x5c]
call fcn.004a6d90
push eax
mov ecx, esi
call fcn.004a6d30
mov ecx, dword [edi + 0x5c]
call fcn.004a6eb0
push eax
mov ecx, esi
call fcn.004a6e60
mov ecx, dword [edi + 0x5c]
push 0
call fcn.004a60b0
push eax
mov ecx, esi
call fcn.004a60c0
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.004f2e1a
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.004f2e1a
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004f3abb
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x4b1cb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff547
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004e996d
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004e996d
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004b27d0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4b2820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ff620
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004f5f6e
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4b2853
xor al, al
jmp 0x4b297f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4b2875
xor al, al
jmp 0x4b297f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4b2888
xor al, al
jmp 0x4b297f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4b289c
xor al, al
jmp 0x4b297f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004e9a32
test eax, eax
jne 0x4b28d0
xor al, al
jmp 0x4b297f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x7b0d74
mov dword [esp + 0x20], ebp
call fcn.004f5f6e
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004f29f3
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004f2a4a
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4b2964
mov ax, word [ebx]
test ax, ax
je 0x4b2956
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004b29a0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4b293a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004f2a4a
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4b2ee0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004f40df
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4b2f26
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004c7cf8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x7d8154
push ecx
call fcn.004c98c5
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4b2fe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4b3046
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4b3046
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4b3027
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4b33d0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4b3408
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4b4030
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4b4079
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4b44f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff8e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004b40a0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004b4120
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004b4120
lea ecx, [esi + 0xc]
call fcn.004eba38
lea ecx, [esi + 0x10]
call fcn.004eba38
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004b56b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004b56b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004b56b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004ebaad
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ebaad
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ba940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fff08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004bad40
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x833b74
call fcn.004c9d58
mov ecx, dword [0x7b11c0]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004b8090
mov esi, 0x7b1218
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4ba9e7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ba9de
cmp al, 0xff
je 0x4ba9de
dec al
mov byte [ecx], al
jmp 0x4ba9e7
push ecx
call fcn.004eb817
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004e6700
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4baa2d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4baa24
cmp al, 0xff
je 0x4baa24
dec al
mov byte [ecx], al
jmp 0x4baa2d
push ecx
call fcn.004eb817
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004c9ddf
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4e0d30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5015a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004d5c91
mov eax, dword [0x7b5538]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004d5bc3
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004e1830
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4e0dd7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4e0dce
cmp al, 0xff
je 0x4e0dce
dec al
mov byte [ecx], al
jmp 0x4e0dd7
push ecx
call fcn.004eb817
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4e0e08
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4e0dff
cmp al, 0xff
je 0x4e0dff
dec al
mov byte [ecx], al
jmp 0x4e0e08
push ecx
call fcn.004eb817
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4eded9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4edf11
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ebf54
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ebf2c
jmp 0x4edf1d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ef6d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ef719
call fcn.004f5f6e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ef719
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ef710
xor eax, eax
jmp 0x4ef721
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ef727
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f1242
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x5007b0
call fcn.004ca3f8
push ecx
push ecx
push esi
push 0x14
call fcn.004eb7ee
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4f1295
mov ecx, esi
call fcn.004ec04a
mov eax, dword [0x7d9040]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CFileException.0
mov dword [esi + 0xc], eax
call fcn.004ebc36
jmp 0x4f1297
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x7c1738
push eax
mov dword [ebp - 0x10], esi
call fcn.004c9e02
pop esi

Function at 0x4f649e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4f64cc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f64ea
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f6404
jmp 0x4f64ea
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f64ea
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f6404
test edi, edi
mov eax, edi
jne 0x4f64d4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1001224e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001225d
pop dword [ebp - 0x28]
mov eax, 0xab4ff318
sub eax, 0x9b4ed0bb
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xab423a0f
add dword [ebp - 0x38], 0xa3100b3c
mov dword [ebp - 0x34], 0x490c5f02
add dword [ebp - 0x34], 0xe926ed43
mov dword [ebp - 0x30], 0x68753822
add dword [ebp - 0x30], 0xe3d70c0c
mov dword [ebp - 0x2c], 0x576871db
add dword [ebp - 0x2c], 0xa8978e25
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xa75e9909
add dword [ebp - 0x38], 0xcd13d04d
mov dword [ebp - 0x34], 0xe0b696b5
add dword [ebp - 0x34], 0x60b5cac0
mov dword [ebp - 0x30], 0x3eca91be
add dword [ebp - 0x30], 0x24a4daae
mov dword [ebp - 0x2c], 0x1933f0c8
sub dword [ebp - 0x2c], 0x1933f0c8
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x39106
push 0
call eax
mov ecx, 0xae3b65a4
sub ecx, 0xae3b1bb1
xor edi, edi
add edi, eax
mov esi, 0x10041c00
add esi, dword [ebp - 0x28]
mov ebx, 0x3abc0fae
sub dword [ebp - 0x24], 0x52977188
mov edx, dword [esi]
xor dword [ebp - 0x20], 0xf6800d48
add edx, ebx
add dword [ebp - 8], edi
mov dword [edi], edx
xor dword [ebp - 8], ebx
add edi, 0x5d3f27f9
add edi, 0xa2c0d80b
add esi, 0xeea5293
add esi, 0xf115ad71
loop 0x1001236b
add eax, 0xff31281a
add eax, 0xcff285
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x40157c
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40158e
mov eax, dword [0x4df09f]
shl eax, 2
mov dword [0x4df0a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
call fcn.004d114c
pop edx
call fcn.004d1074
call fcn.004d12a4
push 0
call fcn.004d2e10
pop ecx
push 0x4df048
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x4df0a7], eax
push 0
jmp fcn.004dae54

Function at 0x401ca8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
mov ebx, dword [ebp + 0x14]
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x200]
push eax
call fcn.004d1d53
add esp, 0xc
lea edx, [ebp - 0x400]
push pe_nt_image_headers32
push 0
push edx
call fcn.004d1d53
add esp, 0xc
push ebx
call fcn.004d1ed4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x400]
push ecx
call fcn.004d1b6c
add esp, 0xc
lea eax, [ebp - 0x400]
lea edx, [ebp - 0x200]
push eax
push pe_nt_image_headers32
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x200]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402ce8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x402d3a
test eax, edx
je 0x402d3d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x402cfd
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x402d23
add ecx, 4
js 0x402d13
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x402d20
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x402d49
test edx, edx
jne 0x402cf0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41fc0c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x41fcaa
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x41fc6e
cmp byte [ebx + 0x10], 0
jne 0x41fc6e
cmp byte [ebx + 0x3c], 0
jne 0x41fc6e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x41fc8f
lea edx, [ebp - 4]
mov eax, dword [0x4e6f60]
call fcn.0045e9c0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x40ffd4]
call fcn.00446758
call fcn.0045a920
jmp 0x41fc8f
lea edx, [ebp - 8]
mov eax, dword [0x4e6f60]
call fcn.0045e9c0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40ffd4]
call fcn.00446758
call fcn.0045a920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fcb1
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045b15c
ret

Function at 0x4205b8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x420606
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041fb58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42061f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x420628
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041fb58
dec esi
jne 0x42064a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x421ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e76d4
cmp dword [edi], 0
jne 0x421f3c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4e76d0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4dfbc0
mov ecx, 2
call fcn.00458dfc
mov edx, 0x421e98
lea eax, [esi + 5]
call fcn.00421eb8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421eb8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x421f11
mov dword [0x4e76d0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8