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

Disassembly:
push 0xffffffffffffffff
push 0x488da9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2288]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], esi
mov byte [esi + 4], bl
mov eax, dword [ecx + 8]
lea edi, [ecx + 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 1
jge 0x412fdd
push ebx
mov ecx, edi
call fcn.00408c80
mov edi, dword [edi]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x412fe4
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00404640
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x413000
sub eax, edx
push eax
push ebp
mov ecx, esi
call fcn.00404550
push 4
push str..tmp
mov ecx, esi
call fcn.00404550
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00459426
add esp, 0x18
ret 8

Function at 0x413050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488df9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2288]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], esi
mov byte [esi + 4], bl
mov eax, dword [ecx + 8]
lea edi, [ecx + 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 1
jge 0x4130cd
push ebx
mov ecx, edi
call fcn.00408c80
mov edi, dword [edi]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4130d4
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00404640
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4130f0
sub eax, edx
push eax
push ebp
mov ecx, esi
call fcn.00404550
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00459426
add esp, 0x18
ret 8
Function at 0x413130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x488e58
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2288]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
movzx ecx, byte [edi]
push 2
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x88], 1
call fcn.00412b50
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 2
call fcn.00404330
mov ebp, 0x10
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x7c], 1
jb 0x4131db
mov eax, dword [esp + 0x20]
push eax
call fcn.00418702
add esp, 4
mov esi, 1
cmp dword [esp + 0x8c], esi
jle 0x41327f
lea ecx, [ecx]
movzx ecx, byte [edi + esi]
push 2
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00412b50
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x94], 3
call fcn.004049e0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 4
call fcn.00404450
cmp dword [esp + 0x34], ebp
jb 0x413247
mov edx, dword [esp + 0x20]
push edx
call fcn.00418702
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov byte [esp + 0x7c], 1
jb 0x41326f
mov eax, dword [esp + 0x3c]
push eax
call fcn.00418702
add esp, 4
add esi, 1
cmp esi, dword [esp + 0x8c]
jl 0x4131f0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x78]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00404330
mov esi, dword [esp + 0x34]
push esi
call fcn.004129b0
add esp, 0x20
cmp dword [esp + 0x6c], ebp
jb 0x4132c3
mov eax, dword [esp + 0x58]
push eax
call fcn.00418702
add esp, 4
cmp dword [esp + 0xa8], ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x4132e8
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00418702
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00459426
add esp, 0x6c
ret
Function at 0x414870
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x418
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
mov edx, dword [esp + 0x42c]
push ebx
mov ebx, dword [esp + 0x424]
push ebp
push esi
mov esi, dword [esp + 0x434]
push edi
xor edi, edi
test eax, eax
mov ebp, ecx
mov ecx, dword [esp + 0x434]
mov dword [esp + 0x1c], edx
mov dword [esi], edi
jne 0x4148c3
mov eax, 0xfffffff4
jmp 0x4149da
push 0
push 2
push SysReAllocString
push ecx
push eax
call dword [sym.imp.WININET.dll_FtpOpenFileA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4148e6
mov eax, 0xfffffffd
jmp 0x4149da
push 0
push SafeArrayAllocData
push 2
push 0
push 0
push 0x40000000
push ebx
mov byte [ebp + 4], 1
mov byte [ebp + 5], 0
mov dword [esp + 0x2c], 0x400
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
test ebx, ebx
jne 0x41491f
mov eax, 0xfffffffa
jmp 0x4149da
cmp dword [esp + 0x10], 0x400
jne 0x4149c2
lea ecx, [ecx]
test edi, edi
jne 0x4149c2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0x400
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x41495d
mov edi, 0xfffffffb
jmp 0x4149b4
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4149a9
add dword [esi], eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x414989
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
je 0x41498e
mov edi, 0xfffffffa
mov ecx, dword [ebp + 0x14]
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
jne 0x4149b4
cmp byte [ebp + 5], 0
je 0x4149b4
mov edi, 0xfffffff9
cmp dword [esp + 0x10], 0x400
je 0x414930
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp + 4], 0
mov eax, edi
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459426
add esp, 0x418
ret 0x14
Function at 0x4164b0
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00416470
mov byte [esi], 0x80
pop esi
ret

Function at 0x41c27d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x41c29d
cmp dword [edi + 0x54], 0
jne 0x41c29d
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00429785
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041c244
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x41f59e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x489c31
call fcn.0045cec5
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41f5c3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41f60f
call fcn.0042c64d
push eax
lea ecx, [ebp - 0x10]
call fcn.00408bf0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041eafa
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402e40
mov eax, esi
call fcn.0045cf9d
ret 8

Function at 0x41ff16
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 0x41ff5c
call fcn.00429785
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41ff5c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41ff9f
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 0x41ff88
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 0x41ff88
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41ff9c
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 0x426b4e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x426b87
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041e6ac
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041ade1
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x428a88
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 0x428acb
call fcn.00429785
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x428acb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x428ae6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042863f
test ebx, ebx
mov esi, eax
je 0x428ae4
test edi, edi
je 0x428ae4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42eddc
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 0x42ee05
call fcn.00429785
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_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x42ee28
push eax
push dword [esi + 4]
call fcn.0042ed2d
push esi
push eax
mov ecx, 0x4b5640
call fcn.0042e7b1
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4304d6
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x48b01e
call fcn.0045cec5
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004301b2
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004093a0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x43053c
push eax
push dword [esi + 8]
call fcn.0042ed2d
push dword [esi + 0xc]
mov ecx, 0x4b5640
push eax
call fcn.0042e7b1
mov eax, esi
call fcn.0045cf9d
ret 0x18
Function at 0x445af6
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x445aff
xor eax, eax
jmp 0x445b68
cmp dword [esp + 8], 0
jne 0x445b0b
call fcn.004223c1
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00462f6b
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x445b46
push dword [esi + 0x10]
call fcn.0045c10d
test eax, eax
pop ecx
jne 0x445b46
mov esi, dword [esi + 0xc]
call fcn.0045d539
push esi
push dword [eax]
push 1
call fcn.00446bde
push dword [esi + 0x10]
call fcn.0045c13c
test eax, eax
pop ecx
je 0x445b65
push dword [esi + 0x10]
call fcn.00462c42
push eax
call fcn.004174a0
pop ecx
pop ecx
jmp 0x445b34
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x445b71
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x445b7b
call fcn.004223c1
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.004630a0
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x445ba8
mov esi, dword [esi + 0xc]
call fcn.0045d539
push esi
push dword [eax]
push 1
call fcn.00446bde
pop esi
ret 8

Function at 0x459426
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b2288]
jne 0x459430
repz ret
jmp fcn.004667cc
Function at 0x478903
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00466166
xor ebx, ebx
cmp dword [0x4b6428], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4789d8
push 0x499ca0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x478943
xor eax, eax
jmp 0x478a9c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x499c94
push edi
call esi
cmp eax, ebx
je 0x47893c
push eax
call fcn.00466103
mov dword [esp], 0x499c84
push edi
mov dword [0x4b6428], eax
call esi
push eax
call fcn.00466103
mov dword [esp], 0x499c70
push edi
mov dword [0x4b642c], eax
call esi
push eax
call fcn.00466103
mov dword [0x4b6430], eax
lea eax, [ebp - 8]
push eax
call fcn.0045d078
test eax, eax
pop ecx
pop ecx
je 0x4789a6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004599ff
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4789d8
push 0x499c54
push edi
call esi
push eax
call fcn.00466103
cmp eax, ebx
pop ecx
mov dword [0x4b6438], eax
je 0x4789d8
push 0x499c3c
push edi
call esi
push eax
call fcn.00466103
pop ecx
mov dword [0x4b6434], eax
mov eax, dword [0x4b6434]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x478a51
cmp dword [0x4b6438], esi
je 0x478a51
push eax
call fcn.0046616f
pop ecx
call eax
cmp eax, ebx
je 0x478a1e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4b6438]
call fcn.0046616f
pop ecx
call eax
test eax, eax
je 0x478a1e
test byte [ebp - 0x18], 1
jne 0x478a51
lea eax, [ebp - 0xc]
push eax
call fcn.0045d127
test eax, eax
pop ecx
je 0x478a39
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004599ff
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x478a48
or dword [ebp + 0x10], 0x200000
jmp 0x478a82
or dword [ebp + 0x10], 0x40000
jmp 0x478a82
mov eax, dword [0x4b642c]
cmp eax, esi
je 0x478a82
push eax
call fcn.0046616f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x478a82
mov eax, dword [0x4b6430]
cmp eax, esi
je 0x478a82
push dword [ebp - 4]
push eax
call fcn.0046616f
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 [0x4b6428]
call fcn.0046616f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x486be8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4b2288]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00486a60
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.0045a0f0
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 0x486c37
cmp dword [ebp - 0x1c], 5
jb 0x486c4f
jmp 0x486c4b
cmp dword [ebp - 0x10], 1
jne 0x486c4f
cmp dword [ebp - 0x1c], 4
ja 0x486c4b
jne 0x486c4f
cmp dword [ebp - 0x18], 0
jbe 0x486c4f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x49e894
call fcn.0048681d
test eax, eax
jge 0x486c70
mov byte [0x4b3998], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00459426
add ebp, 0x78
leave
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x661e88
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0x15f9424
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf15e7d6c
jmp 0x15f9413
mov dword [esp + 0x34], ebp
push di
lea esp, [esp + 1]
pushal
lea esp, [esp + 1]
jmp 0x15f93c3
mov dword [esp + 0x50], esi
push cx
lea esp, [esp + 2]
mov dword [esp + 0x4c], edi
lea esp, [esp + 0x4c]
jmp 0x15f9444
call 0x15f93f3
mov bx, 0x92f6
mov esi, edx
call 0x15f9424
fimul word [ebp - 0x7cf7db8c]
in al, dx
sbb al, 0xf
xor byte [eax + 0x66000000], 0x89
je 0x15f9459
add al, 0xf
enter 0x79eb, 0x3f
test eax, 0x1bab5839
dec eax
jmp 0x15f9445
pushfd
jmp 0x15f893c
movsd dword es:[edi], dword [esi]
push ss
xchg cx, ax
adc byte [ebx - 0x1a17f6], dl
invalid

Function at 0x1633f55
Capabilities:
Encode data using xor

Disassembly:
call fcn.01633f8c
xor al, byte [eax]
add byte [eax], al
or ah, byte [ebp - 0x4dd9b82c]
add edi, dword [ebx + 0x5a]
cmc
pop ecx
push edi
loopne 0x1633f56
stc
fdivr dword [ebx]

Function at 0x169833a
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 0x11], al
mov dword [esp + 2], edi
xchg dword [esp + 2], eax
jmp 0x169834c
push word [esp + 0x16]
neg ax
push word [esp + 0xd]
stc
setns dh
jmp 0x169838a
pop word [esp + 0xb]
mov ecx, ebp
xchg al, ah
mov eax, 0x1c2b97b1
jmp 0x1698560
mov dword [esp + 9], edi
pop dword [esp + 0x10]
mov dh, byte [esp + 0xc]
clc
pop dword [esp + 0xa]
jmp 0x1698374
xchg dword [esp], edx
pop word [esp + 1]
push dword [esp + 3]
call fcn.016983e1
or al, 0x9f
out 0x11, al
nop
push esi
lea ecx, [edx + esi]
xchg byte [esp + 4], ch
mov dx, word [esp]
xor ax, 0x52f2
mov dx, 0xe4e3
jmp 0x16983b5
cmc
mov edx, dword [esp]
seto cl
ror cx, cl
neg cx
not edx
jmp 0x16983cb
add esp, 5
dec ah
rdtsc
dec eax
add esp, 8
mov ax, word [esp]
jmp 0x1698405
mov eax, dword [esp + 0xa]
push esi
rdtsc
xchg word [esp + 4], ax
setns ch
xchg dl, al
jmp 0x16984a8
pop word [esp + 0xc]
mov dh, 0x63
mov cl, al
add esp, 0xa
push word [esp + 3]
push dword [esp + 4]
jmp 0x1698531
Function at 0x16989ce
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 3
pop word [esp + 5]
xchg edx, eax
not cl
mov byte [esp + 2], dl
jmp 0x16989d1
push edi
jmp 0x16989b8
lea eax, [ebx + ebp]
stc
mov ch, dl
btc cx, bx
mov ecx, 0xf0ff6093
jmp 0x1698a4e
neg edx
mov dl, 7
std
bswap edx
cld
ror dx, 8
jmp 0x1698a2f
pop word [esp + 3]
xchg ah, dl
bsr eax, edx
xchg byte [esp], cl
mov al, 0xc3
lea ecx, reloc.kernel32.dll_GetProcAddress
jmp 0x16989fe
mov word [esp + 4], di
mov ah, dl
rdtsc
rdtsc
xchg dword [esp + 4], eax
xchg al, cl
jmp 0x1698aa6
lea ecx, [ecx + esi]
bsr cx, bp
setb ah
rol ax, 5
lea edx, [eax + edx]
mov dword [esp + 3], edi
jmp 0x1698a18
bswap eax
pop word [esp + 5]
mov dl, byte [esp + 8]
lea eax, [eax + edi]
jmp 0x1698a8e
push dword [esp + 1]
bsr dx, ax
mov ah, 0xdb
bsr cx, si
xchg cl, al
pushfd
jmp 0x1698a65
mov word [esp + 9], si
push edx
mov eax, esi
xchg al, ch
pop word [esp + 3]
setl dh
jmp 0x1698ab8
setg dh
xchg dword [esp], ecx
inc dx
xchg ecx, edx
neg eax
xchg dword [esp + 1], eax
jmp 0x1698a7b
mov cx, ax
btc dx, bp
rdtsc
mov dh, al
cld
inc eax
jmp 0x1698b1e
mov ax, word [esp + 0xa]
mov dl, ch
mov ah, 0xc6
xor eax, eax
mov ch, cl
jmp 0x1698b48
mov byte [esp + 0x11], dl
mov ecx, 0x51fd02bc
not cx
setp dl
pop dword [esp + 5]
jmp 0x1698aef
mov ah, byte [esp + 0xa]
push esi
inc cx
mov dh, ch
mov eax, dword [esp + 0xf]
mov eax, 0xa1ed50e7
jmp 0x1698b05
push dword [esp + 7]
cmc
sub esp, 0x14
sub esp, 0xb
mov ch, 0xc
lea eax, [edi + edi]
jmp 0x1698b87
xchg byte [esp + 2], dl
push dword [esp + 1]
pop dword [esp + 2]
pop edx
pop dword [esp + 4]
mov byte [esp + 4], dl
jmp 0x1698b32
pop dword [esp + 0xa]
setb cl
add esp, 0x11
mov ah, 0xa0
not eax
sbb ax, 0xd2d2
jmp 0x1698bb5
pop dword [esp + 0xf]
mov edx, dword [esp + 0xa]
pop dword [esp + 6]
push bx
pop dword [esp + 0x12]
sbb ah, cl
jmp 0x1698b69
setno ch
rol ch, 0
mov byte [esp], al
cld
stc
xchg ah, ch
jmp 0x1698bdf
xchg byte [esp + 5], ch
add esp, 0xb
rcl ax, cl
rdtsc
bt cx, si
mov ch, 0x73
jmp 0x1698b9d
mov ecx, dword [esp]
call fcn.01699a27
popal
jbe 0x1698c36
jo 0x1698c40
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [ecx], al
mov eax, edx
mov ecx, edx
mov ecx, dword [esp]
or ecx, 0xba6aa508
cmp ecx, 0x2f505452
xchg byte [esp], al
jmp 0x1698bc9