joyce8/EMBER2024-capa huggingface dataset:
Function at 0x605d10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x673853
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00666027
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0066b6c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0066cd19
test eax, eax
je 0x605e2c
mov ecx, dword [esp + 0x3c]
call fcn.0066b6ed
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x605df0
push edi
mov ecx, esi
call fcn.00668d55
mov ecx, esi
call fcn.00605fd0
cmp dword [esp + 0x38], 1
jne 0x605e25
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00668e90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x608010
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x608043
push esi
call fcn.00616290
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x60803c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x6080c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x6080b2
mov eax, dword [esi + 8]
test eax, eax
je 0x608067
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x6080ae
cmp eax, 2
je 0x6080b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x60805a
cmp eax, 3
je 0x60808d
cmp eax, 1
jne 0x60805a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x60805a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x60805a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.006080f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x6080d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.006080f0
add esp, 4
pop esi
ret

Function at 0x608960
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x608981
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x608981
mov eax, dword [eax + 0x44]
test eax, eax
je 0x608981
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x624738
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x673cdc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00666027
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.0063b940
call fcn.00629300
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.00629300
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.00629300
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.00629300
mov dword [edi], 0x7c55cc
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.00663479
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x7c569c
mov eax, dword [0x7f7920]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.00629300
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.00663479
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x624820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x673d64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.006634a2
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x7c55c8
call fcn.00629500
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.00664a4f
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.0066b717
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.006634a2
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x7c55c8
call fcn.00629500
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x7c55c8
call fcn.00629500
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x7c55c8
call fcn.00629500
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x7c55c8
call fcn.00629500
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.006630db
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x625420
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 0x6254c3
test eax, eax
jbe 0x6254c3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x6254c3
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 0x62546e
xor esi, esi
jmp 0x625474
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x62549f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00629770
add esi, eax
push esi
mov ebx, esi
call fcn.00629770
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x625480
pop ebp
test edi, edi
pop edi
jne 0x6254c3
test ebx, ebx
je 0x6254c3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.006540a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x6255e5
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 0x6256fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x6256fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00666479
mov esi, eax
test esi, esi
je 0x6256fd
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 0x6256fd
mov ecx, esi
call fcn.00625570
cmp edi, eax
jge 0x6256fd
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 0x625683
mov dword [esp + 0x34], 1
jmp 0x6256de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x6256fd
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.00623300
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 0x63e7d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x825f38]
xor edx, edx
cmp eax, edx
jne 0x63e7f6
xor eax, eax
mov byte [eax + 0x825e38], al
inc eax
cmp eax, 0x100
jl 0x63e7de
mov dword [0x825f38], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x825e38
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x63e887
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x63e85a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x63e828
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x63e890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x63e8e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x63e8ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x645260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67468e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00645b80
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x7c6a6c
call fcn.00664790
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x6452f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00664790
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x6452ec
push 0
mov ecx, eax
call fcn.0063c400
mov dword [esi + 0xc], eax
jmp 0x6452f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x6452f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x666e1d
Capabilities:
Get graphical window text

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

Function at 0x668512
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 0x668554
call fcn.0066e10f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x668554
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x66854b
xor eax, eax
jmp 0x66855c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00668562
pop edi
pop esi
pop ebx
ret 4
Function at 0x66e63f
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 0x66e66d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x66e68b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0066e5a5
jmp 0x66e68b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x66e68b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0066e5a5
test edi, edi
mov eax, edi
jne 0x66e675
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40b801
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411a00
cmp edx, dword [eax]
je 0x40b823
add eax, 8
inc ecx
cmp eax, 0x411a90
jl 0x40b814
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411a00]
jne 0x40b951
mov eax, dword [0x41911c]
cmp eax, 1
je 0x40b92b
test eax, eax
jne 0x40b854
cmp dword [0x411488], 1
je 0x40b92b
cmp edx, 0xfc
je 0x40b951
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b88b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b8ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41050c
push edi
call fcn.00408fa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408750
lea eax, [ebp - 0xa0]
push 0x4104ec
push eax
call fcn.00408750
push dword [esi + 0x411a04]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e2c6
add esp, 0x2c
pop edi
jmp 0x40b951
lea eax, [ebp + 8]
lea esi, [esi + 0x411a04]
push 0
push eax
push dword [esi]
call fcn.00408910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43b652
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
and ebx, ebx
call fcn.0043b682
and edi, edi
inc ebx
or ebx, ebx
xor dword [edx], eax
sub ebx, 0xc12f8db9
add edx, 1
and edi, edi
cmp edx, esi
jne fcn.0043b652
inc edi
mov ebx, 0x29477b74
sub edi, edi
ret
Function at 0x467750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x416015
lea edi, [esi - 0x15015]
push edi
jmp 0x46776a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467760
mov eax, 1
add ebx, ebx
jne 0x467783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467794
jne 0x4677b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677b3
dec eax
add ebx, ebx
jne 0x4677a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467778
add ebx, ebx
jne 0x4677af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467805
xor ecx, ecx
sub eax, 3
jb 0x4677cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46783a
sar eax, 1
mov ebp, eax
jmp 0x4677d6
add ebx, ebx
jne 0x4677d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677a4
inc ecx
add ebx, ebx
jne 0x4677e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677a4
add ebx, ebx
jne 0x4677f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4677e6
jne 0x467802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4677e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467816
jmp 0x467766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467824
add edi, ecx
jmp 0x467766
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467842
cmp byte [edi], 0
jne 0x467842
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 0x467847
mov ebp, dword [esi + 0x676d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4678a2
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x41014f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040aeb4
and dword [ebp - 4], 0
cmp dword [0x419b2c], 0
mov ebx, eax
jne 0x410200
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4102b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4102b1
push eax
call fcn.0040ae42
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x419b2c], eax
call esi
push eax
call fcn.0040ae42
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x419b30], eax
call esi
push eax
call fcn.0040ae42
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x419b34], eax
call esi
push eax
call fcn.0040ae42
pop ecx
mov dword [0x419b3c], eax
test eax, eax
je 0x410200
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ae42
pop ecx
mov dword [0x419b38], eax
mov eax, dword [0x419b38]
cmp eax, ebx
je 0x410258
cmp dword [0x419b3c], ebx
je 0x410258
push eax
call fcn.0040aebd
push dword [0x419b3c]
mov esi, eax
call fcn.0040aebd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410258
test edi, edi
je 0x410258
call esi
test eax, eax
je 0x41024f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41024f
test byte [ebp - 0xc], 1
jne 0x410258
or dword [ebp + 0x10], 0x200000
jmp 0x410291
mov eax, dword [0x419b30]
cmp eax, ebx
je 0x410291
push eax
call fcn.0040aebd
pop ecx
test eax, eax
je 0x410291
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410291
mov eax, dword [0x419b34]
cmp eax, ebx
je 0x410291
push eax
call fcn.0040aebd
pop ecx
test eax, eax
je 0x410291
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x419b2c]
call fcn.0040aebd
pop ecx
test eax, eax
je 0x4102b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4102b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5d8ad2
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, 0x5d87dc
mov esi, esi
call fcn.005d8b0c
inc edi
mov esi, esi
mov esi, esi
xor dword [ebx], ecx
dec edi
add ebx, 2
mov esi, 0xfdfdd5ff
sub edi, 0x6204fc9f
cmp ebx, edx
jl fcn.005d8ad2
or esi, edi
sub esi, 0xf4a9c7b5
dec edi
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x3b057739
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x71f64b89
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40106e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e004]
jne 0x401078
repz ret
jmp fcn.004015b1

Function at 0x408449
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404169
and dword [ebp - 4], 0
cmp dword [0x40f980], 0
mov ebx, eax
jne 0x4084fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4085ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ca2c
push edi
call esi
test eax, eax
je 0x4085ab
push eax
call fcn.004040f7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40f980], eax
call esi
push eax
call fcn.004040f7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40f984], eax
call esi
push eax
call fcn.004040f7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40f988], eax
call esi
push eax
call fcn.004040f7
pop ecx
mov dword [0x40f990], eax
test eax, eax
je 0x4084fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004040f7
pop ecx
mov dword [0x40f98c], eax
mov eax, dword [0x40f98c]
cmp eax, ebx
je 0x408552
cmp dword [0x40f990], ebx
je 0x408552
push eax
call fcn.00404172
push dword [0x40f990]
mov esi, eax
call fcn.00404172
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408552
test edi, edi
je 0x408552
call esi
test eax, eax
je 0x408549
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408549
test byte [ebp - 0xc], 1
jne 0x408552
or dword [ebp + 0x10], 0x200000
jmp 0x40858b
mov eax, dword [0x40f984]
cmp eax, ebx
je 0x40858b
push eax
call fcn.00404172
pop ecx
test eax, eax
je 0x40858b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40858b
mov eax, dword [0x40f988]
cmp eax, ebx
je 0x40858b
push eax
call fcn.00404172
pop ecx
test eax, eax
je 0x40858b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40f980]
call fcn.00404172
pop ecx
test eax, eax
je 0x4085ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4085ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret