joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d004]
jne 0x40100a
repz ret
jmp fcn.00401459

Function at 0x408155
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405748
and dword [ebp - 4], 0
cmp dword [0x41f258], 0
mov ebx, eax
jne 0x408206
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4082b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4082b7
push eax
call fcn.004056d6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41f258], eax
call esi
push eax
call fcn.004056d6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41f25c], eax
call esi
push eax
call fcn.004056d6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41f260], eax
call esi
push eax
call fcn.004056d6
pop ecx
mov dword [0x41f268], eax
test eax, eax
je 0x408206
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004056d6
pop ecx
mov dword [0x41f264], eax
mov eax, dword [0x41f264]
cmp eax, ebx
je 0x40825e
cmp dword [0x41f268], ebx
je 0x40825e
push eax
call fcn.00405751
push dword [0x41f268]
mov esi, eax
call fcn.00405751
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40825e
test edi, edi
je 0x40825e
call esi
test eax, eax
je 0x408255
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408255
test byte [ebp - 0xc], 1
jne 0x40825e
or dword [ebp + 0x10], 0x200000
jmp 0x408297
mov eax, dword [0x41f25c]
cmp eax, ebx
je 0x408297
push eax
call fcn.00405751
pop ecx
test eax, eax
je 0x408297
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408297
mov eax, dword [0x41f260]
cmp eax, ebx
je 0x408297
push eax
call fcn.00405751
pop ecx
test eax, eax
je 0x408297
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41f258]
call fcn.00405751
pop ecx
test eax, eax
je 0x4082b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4082b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x419703
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
cmp edi, 0x19f
jne 0x419724
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
xor esi, esi
cmp edi, ebx
jle 0x419746
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
call fcn.004196f4
mov eax, dword [ebp + 8]
add eax, esi
pop ecx
mov cl, byte [ebp - 4]
xor byte [eax], cl
inc esi
cmp esi, edi
jl 0x41972a
pop esi
pop ebx
cmp edi, 0x2d
jne 0x41975e
or dword [0x4a8664], 0xffffffff
mov dword [0x4a8660], 0xa62e7790
leave
ret
Function at 0x42a4ff
Capabilities:
Terminate process

Disassembly:
jmp 0x45c5e0
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45c5f1
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0042b918
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x42a595
Capabilities:
Query environment variable

Disassembly:
jmp 0x45fa29
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x45fa3d
xor edi, edi
jmp 0x45fa74
push ebx
push esi
call fcn.0045f933
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042aac7
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45fa64
push ebx
push esi
push edi
call fcn.0042b7ba
add esp, 0xc
push 0
call fcn.0042be13
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x42b841
Capabilities:
Parse pe header

Disassembly:
jmp 0x430977
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4309b7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4309b7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4309b7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4309b7
cmp dword [ecx + 0x74], 0xe
jbe 0x4309b7
cmp dword [ecx + 0xe8], 0
je 0x4309b7
mov al, 1
ret
xor al, al
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x73487e71
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x8ba6e1d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x31bb196b
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x21263b92
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401510
Capabilities:
Create process on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
call sym.___main
mov dword [esp + 4], 5
mov dword [esp], str.calc.exe
mov eax, dword [sym.imp.KERNEL32.dll_WinExec]
call eax
sub esp, 8
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x401960
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401a70
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401994
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401a15
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401980
mov dword [esp], eax
mov ebx, eax
call sym.___mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401a97
mov eax, dword [0x4053a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
add eax, dword [edi + 0xc]
mov edx, dword [0x4053a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401a77
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401a0e
sub eax, 4
and eax, 0xfffffffb
jne 0x401a20
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4053a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401a0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
xor esi, esi
jmp 0x40199e
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
mov esi, esi
lea edi, [edi]

Function at 0x401ed0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x401f25
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x401f1e
test esi, esi
je 0x401f1e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f00
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4025c0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call sym.___acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
nop
nop
nop
nop
nop
Function at 0x431f83
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x431fb1
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x431fa8
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x431fa0
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x431fd2
mov esp, ebp
pop ebp
ret

Function at 0x431fd6
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x432042
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x43206f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x43205e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x43204f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x432095
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x432036
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4320c1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4326b7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4326c7
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x43271c
push dword [ebp + 8]
call fcn.004328c8
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x43271c
xor eax, eax
jmp 0x432721
mov eax, 1
test eax, eax
je 0x432733
mov eax, 0
jmp 0x4328c2
push 0x3c
push dword [ebp + 8]
call fcn.0043290a
push eax
call fcn.004328e4
push eax
push dword [ebp + 8]
call fcn.0043290a
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004328e4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x43278e
push 0x7c
push dword [ebp - 4]
call fcn.0043290a
push eax
call fcn.004328e4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x43278e
xor eax, eax
jmp 0x432793
mov eax, 1
test eax, eax
je 0x4327a5
mov eax, 0
jmp 0x4328c2
push 0x78
push dword [ebp - 4]
call fcn.0043290a
push eax
call fcn.004328e4
push eax
push dword [ebp + 8]
call fcn.0043290a
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.0043290a
push eax
call fcn.004328e4
push eax
push dword [ebp + 8]
call fcn.0043290a
push eax
call fcn.004328e4
push eax
push dword [ebp + 8]
call fcn.0043290a
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.0043290a
push eax
call fcn.004328e4
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.00432931
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x4328b5
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0043290a
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00432958
test eax, eax
je 0x432898
push 0x1c
push dword [ebp - 8]
call fcn.0043290a
push eax
call fcn.004328e4
push eax
push dword [ebp + 8]
call fcn.0043290a
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.0043298c
push eax
push dword [ebp - 0x24]
call fcn.0043290a
push eax
call fcn.004328e4
push eax
push dword [ebp + 8]
call fcn.0043290a
jmp 0x4328c2
push dword [ebp - 0x14]
call fcn.004329b4
push eax
push dword [ebp - 0x18]
call fcn.0043290a
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x432821
add esp, 0xc
mov eax, 0
jmp 0x4328c2
mov esp, ebp
pop ebp
ret 8
Function at 0x437b60
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x437bf2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x437be4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x437bdc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x437ba5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x438420
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x438461.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x438461.2
jmp dword [eax*4 + 0x4384ec]
mov word [esp + 0x48], di
jmp 0x43849a
mov word [esp + 0x48], 2
jmp 0x43849a
mov word [esp + 0x48], 3
jmp 0x43849a
mov word [esp + 0x48], 4
jmp 0x43849a
mov word [esp + 0x48], 7
jmp 0x43849a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x4384e4
cmp dword [esp + 0x70], edi
je 0x4384d0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x43fde0
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 0x43fe46
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 0x43fe46
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x43fe27
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x4401d0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x440208
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 0x440e90
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.WSOCK32.dll_select
cmp eax, 0xffffffff
jne 0x440ed9
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 0x441350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x458130
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.00440f00
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00440f80
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00440f80
lea ecx, [esi + 0xc]
call fcn.00451b8f
lea ecx, [esi + 0x10]
call fcn.00451b8f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00442520
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00442520
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00442520
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00451c04
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00451c04
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x456cf8
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 0x456d26
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x456d44
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00456c5e
jmp 0x456d44
mov eax, dword [esi + 0x14]
test eax, eax
je 0x456d44
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00456c5e
test edi, edi
mov eax, edi
jne 0x456d2e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x53a000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b088
push 0x447e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x536bcc], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x536bc8], ecx
shl ecx, 8
add ecx, edx
mov dword [0x536bc4], ecx
shr eax, 0x10
mov dword [0x536bc0], eax
push 1
call fcn.00447da3
pop ecx
test eax, eax
jne 0x443812
push 0x1c
call fcn.004438d4
pop ecx
call fcn.00447b60
test eax, eax
jne 0x443823
push 0x10
call fcn.004438d4
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004479a4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x538300], eax
call fcn.00447872
mov dword [0x536ba8], eax
call fcn.00447625
call fcn.0044756c
call fcn.0044527e
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00447514
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x443872
movzx eax, word [ebp - 0x2c]
jmp 0x443875
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00450168
mov dword [ebp - 0x60], eax
push eax
call fcn.004452ab
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.0044739c
pop ecx
pop ecx
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x100]
cmp eax, 0
je 0x53a017
push eax
call sub.VMProtectSDK32.dll_VMProtectSetSerialNumber
rdtsc
cmp eax, edx
jne 0x4437a7
ret