joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412304
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
cmp al, 3
clc
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00412106
sal dword [esi + 0x68], 0x6f
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00412106
dec ebp
adc bl, 0xeb
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x412360
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x41235a
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x41234b
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00412106
test eax, 0x8d97a7df
inc ebp
test al, 0x50
call fcn.00412116
std
invalid
dec dword [ebx + 0x56500c75]
push dword [ebp + 8]
call fcn.004120cb
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4123f4
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00412106
sbb esp, dword [esi - 0x23]
sbb byte [ebp - 0x17af3fbb], cl
invalid
Function at 0x412604
Capabilities:
Inspect section memory permissions

Disassembly:
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x4128ff
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00412077
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x412676
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00412077
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x412643
call fcn.00412106
or al, 0x70
dec dword [eax + esi*2]
scasb al, byte es:[edi]
inc edi
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x4128f5
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x4126ab
cmp dword [eax + 0xc], ebx
je 0x41274e
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00412106
jnp 0x41267a
xor edx, dword [ecx + edi + 0x12750c5d]
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4128f5
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x4126ee
mov dword [ebp + 0x10], edi
jmp 0x4126f3
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.00412106
or dword [ebx], esp
int1
fmul dword [ebx + 0x8b1045]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x41273c
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x412717
and eax, 0xffff
push eax
jmp 0x41271b
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004120cb
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x4128f5
add byte [eax], al
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4126fc
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x41269d
call fcn.00412106
xchg esi, eax
jne 0x412731
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x4127ba
add eax, esi
cmp dword [eax], ebx
je 0x4127ba
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4127b5
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41279f
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4127a7
cmp edx, ebx
jne 0x4128f5
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x412776
add eax, dword [eax + 4]
jmp 0x412763
mov dword [ebp + 0xc], ebx
jmp 0x4127c5
Function at 0x4127f4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4127dd
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4127fb
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x412859
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x412840
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x412849
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x412853
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x412835
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4127bf
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4128a6
dec eax
je 0x41289d
sub eax, 3
je 0x412894
mov dword [ebp - 4], 0x40
jmp 0x4128c3
mov dword [ebp - 4], 4
jmp 0x4128a9
mov dword [ebp - 4], 0x20
jmp 0x4128a9
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4128f5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x412875
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00412106
inc esi
xchg esp, eax
or dl, byte [ecx]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x412901
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5e54ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x5e54e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.005f5160
jmp 0x5e54ee
mov eax, ebx
mov edx, esi
call fcn.005f50c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5e54f8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x5e5519
mov al, byte [esp]
jmp 0x5e551b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5e6a8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x5e6af0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.005f52d8
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.005e1c90
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e6af7
lea eax, [ebp - 0xc]
call fcn.005f5070
ret

Function at 0x5f4378
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x82a104]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5f4410
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x5f43f0
xor eax, eax
push ebp
push 0x5f43e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x5f442c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f43f0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x82a104]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x82a104], ax
mov esp, ebp
pop ebp
ret

Function at 0x5f4ef4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xd225c8], 0
je 0x5f4f55
cmp word [0xd2279c], 0xd7b2
jne 0x5f4f1d
cmp dword [0xd227a4], 0
jbe 0x5f4f1d
mov eax, 0xd22798
call dword [0xd227b4]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x5f4f7c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x82a114], 0
jne 0x5f4f71
push 0
push 0x82a16c
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x5f8064
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x5f7fb0
call sub.USER32.DLL_EnumWindows
ret

Function at 0x5f8188
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x5f8205
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.005f7bd4
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x5f81ad
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.005f782c
cmp dword [ebp - 4], 0
je 0x5f81ef
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.005f5520
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f820c
lea eax, [ebp - 4]
call fcn.005f5070
ret
Function at 0x625d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x625d90]
test si, 4
je 0x625d54
or bl, 1
test si, 8
je 0x625d5e
or bl, 4
test si, 1
je 0x625d68
or bl, 8
test si, 2
je 0x625d72
or bl, 0x10
test si, 0x10
je 0x625d7c
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x625d8b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x625d94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x625dcc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x625dad
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x625dbc
or bl, 4
test esi, 0x20000000
je 0x625dc7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x62c728
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x62c73a
add esp, 0xfffffff0
call fcn.005f486c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.005dcf20
mov eax, dword [0x82f530]
mov dword [eax + 4], ebx
mov dword [eax], 0x62cacc
mov eax, dword [0x82f534]
mov dword [eax + 4], ebx
mov dword [eax], 0x62cad8
mov eax, ebx
call fcn.0062cae4
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x5d03f0]
call fcn.005f44d8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x5d03f0]
call fcn.005f44d8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x5d03f0]
call fcn.005f44d8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x5d03f0]
call fcn.005f44d8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x5d03f0]
call fcn.005f44d8
mov dword [ebx + 0x7c], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x628fac
push eax
push 0
push 0
mov eax, dword [0x82f6e4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x61998c]
call fcn.0061b0a0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x61998c]
call fcn.0061b0a0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x61998c]
call fcn.0061b0a0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0062cfdc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62ce70
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62ce70
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62ce70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x62c877
call fcn.005f48c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x64fa8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x64fb64
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xd22e50], 0
jne 0x64fb48
lea eax, [ebp - 4]
mov edx, 0x64fb7c
call fcn.005f5108
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.005f5520
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x64fb48
mov eax, ebx
call fcn.005f3554
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x64fb41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x64fb2b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x64fb8c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x64fb2b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0xd22e50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64fb48
mov eax, dword [ebp - 0xc]
call fcn.005f3574
ret
mov ebx, dword [0xd22e50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64fb6b
lea eax, [ebp - 4]
call fcn.005f5070
ret

Function at 0x6682ac
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x66831e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x6682f2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.005f5260
jmp 0x6682f9
mov eax, ebx
call fcn.005f5070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x668325
cmp dword [ebp - 8], 0
je 0x668315
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x6775f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x82d078], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x6776d2
cmp dword [0x82d074], 0
jne 0x6776d2
cmp dword [0x82d2a0], 0
je 0x67768c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.006773a8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x677672
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.006773a8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x677672
lea ebx, [ebp - 0x84]
jmp 0x677673
inc ebx
call fcn.006775b4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x67770d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x82d07c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0066ce38
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x82d07f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x67770d
cmp dword [0x82d074], 0
je 0x6776ec
cmp dword [0x82d074], 0xffffffff
je 0x67770d
push esi
call dword [0x82d074]
pop ecx
mov eax, dword [0x82d078]
test eax, eax
je 0x67770d
cmp dword [0x82d078], 0xffffffff
je 0x67770d
cmp byte [eax], 0
je 0x67770d
push esi
push eax
call fcn.00677518
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x678ee4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x678f0a
test esi, esi
je 0x678f0a
call fcn.00677580
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x678f7c
call fcn.00678bf8
mov ebx, eax
test eax, eax
jne 0x678f25
call fcn.00677580
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x678f7c
mov edx, dword [ebp + 0x10]
mov dword [ebx + 4], edx
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x54], eax
push edx
mov ecx, dword [ebp + 0x18]
push ecx
push ebx
push 0x678e40
push esi
mov eax, dword [ebp + 0x14]
push eax
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x678f70
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x678f69
push 0x59
call fcn.0066ff14
pop ecx
jmp 0x678f7c
call fcn.0066ff80
jmp 0x678f7c
mov dword [ebx + 8], eax
test edi, edi
je 0x678f7c
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x481a10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x55000]
push edi
jmp 0x481a2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x481a31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481a20
mov eax, 1
add ebx, ebx
jne 0x481a43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x481a54
jne 0x481a73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481a73
dec eax
add ebx, ebx
jne 0x481a60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x481a38
add ebx, ebx
jne 0x481a6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x481ac5
xor ecx, ecx
sub eax, 3
jb 0x481a8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x481afa
sar eax, 1
mov ebp, eax
jmp 0x481a96
add ebx, ebx
jne 0x481a96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481a64
inc ecx
add ebx, ebx
jne 0x481aa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481a64
add ebx, ebx
jne 0x481ab1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x481aa6
jne 0x481ac2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x481aa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x481ae4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x481ad6
jmp 0x481a26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x481ae4
add edi, ecx
jmp 0x481a26
pop esi
mov edi, esi
mov ecx, 0x2bf6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x481b02
cmp byte [edi], 0x12
jne 0x481b02
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 0x481b07
lea edi, [esi + 0x7f000]
mov eax, dword [edi]
or eax, eax
je 0x481b76
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8eae0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8eb58]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x481b34
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8eb5c]
or eax, eax
je 0x481b70
mov dword [ebx], eax
add ebx, 4
jmp 0x481b51
call dword [esi + 0x8eb6c]
mov ebp, dword [esi + 0x8eb60]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x481baa
sub esp, 0xffffff80
jmp 0x43ab8f
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x79ac10f5
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7ea16ba2
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40108e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push 0x403140
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov ebx, eax
push edi
push 0xfffffffffffffff8
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x401169
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 8]
push 4
push eax
push ebx
call esi
test eax, eax
je 0x401169
cmp dword [ebp - 4], 4
jb 0x401169
cmp dword [ebp - 8], 0x53445250
jne 0x401169
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push ebx
call esi
test eax, eax
je 0x401169
cmp dword [ebp - 4], 4
jb 0x401169
push edi
push edi
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x401169
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 8]
push 4
push eax
push ebx
call esi
test eax, eax
je 0x401169
cmp dword [ebp - 4], 4
jb 0x401169
cmp dword [ebp - 8], 0x53445250
jne 0x401169
push 0x403124
push ebx
call fcn.00401175
push 0x403120
push ebx
call fcn.00401175
push 0x403128
push ebx
call fcn.00401175
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret