joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455950
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x455999
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x455e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004559c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00455a40
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00455a40
lea ecx, [esi + 0xc]
call fcn.004749b9
lea ecx, [esi + 0x10]
call fcn.004749b9
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00456fe0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00456fe0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00456fe0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00474a2e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00474a2e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4589f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x458a93
test eax, eax
jbe 0x458a93
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x458a93
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x458a3e
xor esi, esi
jmp 0x458a44
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x458a6f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004072d0
add esi, eax
push esi
mov ebx, esi
call fcn.004072d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x458a50
pop ebp
test edi, edi
pop edi
jne 0x458a93
test ebx, ebx
je 0x458a93
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00464ad0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x458bd5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x458ced
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x458ced
mov eax, dword [esi + 0x3c]
push eax
call fcn.004764bf
mov esi, eax
test esi, esi
je 0x458ced
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x458ced
mov ecx, esi
call fcn.00458b40
cmp edi, eax
jge 0x458ced
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x458c73
mov dword [esp + 0x34], 1
jmp 0x458cce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x458ced
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004573e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x47584a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0047fc7a
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47587b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0047588e
pop edi
pop esi
pop ebx
ret 8

Function at 0x476e62
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x476e9a
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.00474ed5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00474ead
jmp 0x476ea6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x478755
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 0x478797
call fcn.0047fc7a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x478797
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47878e
xor eax, eax
jmp 0x47879f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004787a5
pop edi
pop esi
pop ebx
ret 4

Function at 0x4801aa
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 0x4801d8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4801f6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00480110
jmp 0x4801f6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4801f6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00480110
test edi, edi
mov eax, edi
jne 0x4801e0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10008cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000b4b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
lea edi, [ebp - 0x74]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x1c], 0x30
mov byte [ebp - 0x1b], 0x31
mov byte [ebp - 0x1a], 0x32
mov byte [ebp - 0x19], 0x33
mov byte [ebp - 0x18], 0x34
mov byte [ebp - 0x17], 0x35
mov byte [ebp - 0x16], 0x36
mov byte [ebp - 0x15], 0x37
mov byte [ebp - 0x14], 0x38
mov byte [ebp - 0x13], 0x39
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x62
mov byte [ebp - 0x10], 0x63
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x66
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
call fcn.100085c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + ecx + 1]
push edx
lea ecx, [ebp - 0x28]
call fcn.10008b60
lea ecx, [ebp - 0x28]
call fcn.10009800
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
jmp 0x10008d8f
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0x10]
jae 0x10008dd1
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [eax]
sar ecx, 4
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp + ecx - 0x1c]
mov byte [edx], al
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x20]
xor eax, eax
mov al, byte [edx]
and eax, 0xf
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ebp + eax - 0x1c]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x10008d7d
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], 0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.10008690
mov eax, dword [ebp - 0x34]
or al, 1
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10008700
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x74
cmp ebp, esp
call fcn.1000ad6e
mov esp, ebp
pop ebp
ret
Function at 0x40109f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [0x418fc8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4010b6
xor al, al
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call esi
push dword [ebp + 8]
call fcn.00407b40
pop ecx
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
mov ebx, eax
call fcn.00407b40
inc eax
push eax
push dword [ebp + 8]
push ebx
call fcn.00407bd0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
test eax, eax
je 0x401114
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
setne bl
test bl, bl
jne 0x401118
xor al, al
jmp 0x401120
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40171f
Capabilities:
Get graphical window text

Disassembly:
push 0x154
mov eax, 0x411e90
call fcn.00406536
lea eax, [ebp - 0x13c]
push eax
push dword [0x418fc8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x138]
xor esi, esi
push esi
push dword [0x418fc4]
sub eax, 0x3c
push 0x65
push dword [0x418fc8]
push eax
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x13c]
sub eax, 0x14
push eax
push 0xa
push 0xa
push 0x50000001
push 0x413312
push str.SysListView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xf
mov dword [ebp - 0x140], eax
pop eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], esi
mov byte [ebp - 0x12c], 0
mov dword [ebp - 4], esi
mov ebx, 0x100
push ebx
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x110]
push esi
push eax
mov dword [ebp - 0x14c], esi
call fcn.00408670
push 0xa
lea eax, [ebp - 0x110]
push str.Drive_Name
push eax
call fcn.00407bd0
add esp, 0x18
lea eax, [ebp - 0x110]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x160]
push eax
push esi
mov edi, 0x101b
push edi
push dword [ebp - 0x140]
mov dword [ebp - 0x15c], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x158], 0xaf
call esi
push ebx
lea eax, [ebp - 0x110]
push 0
push eax
mov dword [ebp - 0x14c], 1
call fcn.00408670
push 0xd
lea eax, [ebp - 0x110]
push str.Serial_Number
push eax
call fcn.00407bd0
and dword [ebp - 0x15c], 0
add esp, 0x18
lea eax, [ebp - 0x110]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x160]
push eax
push 1
push edi
push dword [ebp - 0x140]
mov dword [ebp - 0x158], 0x9b
call esi
mov dword [ebp - 0x14c], 2
push ebx
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00408670
push 8
lea eax, [ebp - 0x110]
push str.Revision
push eax
call fcn.00407bd0
and dword [ebp - 0x15c], 0
add esp, 0x18
lea eax, [ebp - 0x110]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x160]
push eax
push 2
push edi
push dword [ebp - 0x140]
mov dword [ebp - 0x158], 0x8c
call esi
push ebx
xor ebx, ebx
lea eax, [ebp - 0x110]
push ebx
push eax
mov dword [ebp - 0x14c], 3
call fcn.00408670
push 8
lea eax, [ebp - 0x110]
push str.Attached
push eax
call fcn.00407bd0
add esp, 0x18
lea eax, [ebp - 0x110]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x160]
push eax
push 3
push edi
mov edi, dword [ebp - 0x140]
push edi
mov dword [ebp - 0x158], 0x5f
mov dword [ebp - 0x15c], ebx
call esi
push 0x20
push ebx
push 0x1036
push edi
call esi
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0x401277
push 0xfffffffffffffffc
push edi
mov dword [0x418fc0], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x12c]
call fcn.004014f7
mov eax, edi
call fcn.00406580
ret
Function at 0x405658
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x2ac
mov eax, 0x412646
call fcn.00406536
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x27c], esi
mov byte [ebp - 0x114], bl
call fcn.00408670
add esp, 0xc
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
mov dword [ebp - 0x284], 0x104
mov dword [ebp - 0x26c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x26c], ebx
je 0x4058bb
mov dword [ebp - 0x270], ebx
jbe 0x4058bb
push 0xf
mov esi, str.DRIVEDETECTUSELESSMODEL
pop edi
lea eax, [ebp - 0x2b4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x270]
mov dword [ebp - 0x28c], 0xff
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x4058a3
push esi
lea ecx, [ebp - 0x268]
call fcn.00401d45
mov dword [ebp - 4], ebx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], ebx
mov byte [ebp - 0x230], bl
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x23c], ebx
mov byte [ebp - 0x24c], bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x288]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x27c]
mov byte [ebp - 0x278], bl
mov byte [ebp - 0x280], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x288]
call fcn.00404bcf
push esi
call fcn.00407b40
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x268]
call fcn.004042a7
cmp eax, 0xffffffff
jne 0x40586e
push dword [ebp - 0x278]
lea eax, [ebp - 0x24c]
push dword [ebp - 0x280]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x298], esp
push eax
call fcn.00401c7b
mov byte [ebp - 4], 3
sub esp, 0x1c
lea eax, [ebp - 0x230]
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push eax
call fcn.00401c7b
mov byte [ebp - 4], 4
sub esp, 0x1c
lea eax, [ebp - 0x268]
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push eax
call fcn.00401c7b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x274]
call fcn.00405593
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x24c]
call fcn.004014f7
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.004014f7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x268]
call fcn.004014f7
inc dword [ebp - 0x270]
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x26c]
jb 0x405711
call fcn.00406580
ret 4

Function at 0x4064be
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4180b0]
jne 0x4064c8
repz ret
jmp fcn.0040a30c
Function at 0x41066f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4180b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409db3
and dword [ebp - 0x14], 0
cmp dword [0x419de0], 0
mov dword [ebp - 0x18], eax
jne 0x410722
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4107ca
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4107ca
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x419de0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x419de4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x419de8], eax
call edi
push eax
call esi
mov dword [0x419df0], eax
test eax, eax
je 0x410722
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x419dec], eax
mov eax, dword [0x419dec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41077b
cmp dword [0x419df0], ecx
je 0x41077b
push eax
call esi
push dword [0x419df0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41077b
test ebx, ebx
je 0x41077b
call edi
test eax, eax
je 0x410772
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410772
test byte [ebp - 8], 1
jne 0x41077b
or dword [ebp + 0x10], 0x200000
jmp 0x4107ae
mov eax, dword [0x419de4]
cmp eax, dword [ebp - 0x18]
je 0x4107ae
push eax
call esi
test eax, eax
je 0x4107ae
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4107ae
mov eax, dword [0x419de8]
cmp eax, dword [ebp - 0x18]
je 0x4107ae
push eax
call esi
test eax, eax
je 0x4107ae
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x419de0]
call esi
test eax, eax
je 0x4107ca
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4107cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004064be
leave
ret
Function at 0x489d20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x58000]
push edi
or ebp, 0xffffffff
jmp 0x489d42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x489d49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d38
mov eax, 1
add ebx, ebx
jne 0x489d5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x489d6c
jne 0x489d8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d8b
dec eax
add ebx, ebx
jne 0x489d78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x489d50
add ebx, ebx
jne 0x489d87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x489ddd
xor ecx, ecx
sub eax, 3
jb 0x489da3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x489e12
sar eax, 1
mov ebp, eax
jmp 0x489dae
add ebx, ebx
jne 0x489dae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d7c
inc ecx
add ebx, ebx
jne 0x489dbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d7c
add ebx, ebx
jne 0x489dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x489dbe
jne 0x489dda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x489dbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x489dfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x489dee
jmp 0x489d3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x489dfc
add edi, ecx
jmp 0x489d3e
pop esi
mov edi, esi
mov ecx, 0x28a8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x489e1a
cmp byte [edi], 0x1b
jne 0x489e1a
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 al, bl
loop 0x489e1f
lea edi, [esi + 0x86000]
mov eax, dword [edi]
or eax, eax
je 0x489e97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8dd2c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8de44]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x489e4c
mov ecx, edi
jns 0x489e7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de48]
or eax, eax
je 0x489e91
mov dword [ebx], eax
add ebx, 4
jmp 0x489e69
call dword [esi + 0x8de4c]
popal
jmp 0x44b6c8
Function at 0x4fa03e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x4fa15f
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x4fa143
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x4fa095
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x4fa073
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x4fab1b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x4fac5f
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x4fac39
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 0x42]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x208]
shr eax, 2
and edx, 0xffff00e3
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x4fab84
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x4fab5b
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret