joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e1c0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46e36d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46e34e
mov dl, 1
mov eax, dword [0x417430]
call fcn.0041bb34
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.0040544c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46e33d
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045d960
test al, al
je 0x46e330
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x46e37c
lea eax, [ebp - 0x394]
call fcn.0040b9a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x46e330
xor eax, eax
push ebp
push 0x46e329
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x46e3ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x46e312
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040561c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46e312
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040561c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e330
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46e233
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0041b920
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e374
lea eax, [ebp - 0x3a0]
call fcn.0040543c
ret

Function at 0x46ed5c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x481180]
cmp byte [eax + 0xa9], 0
jne 0x46edce
cmp dword [0x481198], 0
jne 0x46ed8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x47ab00]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x481198], eax
cmp dword [0x481194], 0
jne 0x46eda9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x481194], eax
cmp dword [0x48119c], 0
jne 0x46edce
push esp
push 0
push 0
mov eax, dword [0x47aafc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48119c], eax
pop edx
ret
Function at 0x46efe4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x46effb
add esp, 0xfffffff0
call fcn.00403f0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004206e8
mov eax, dword [0x47ad88]
cmp byte [eax], 0
jne 0x46f028
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x47b060]
cmp word [eax + 2], 0
jne 0x46f042
mov eax, dword [0x47b060]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470f30
mov eax, dword [0x47b144]
cmp word [eax + 2], 0
jne 0x46f05c
mov eax, dword [0x47b144]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00471140
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x424b70]
call fcn.00426874
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4715c4
mov dl, 1
mov eax, dword [0x416fb8]
call fcn.00403a8c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x416fb8]
call fcn.00403a8c
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x42564c]
call fcn.0042dc58
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x46f238
mov eax, dword [0x47af2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0042e05c
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x471874
mov dl, 1
mov eax, dword [0x416fb8]
call fcn.00403a8c
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x47af2c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040b7ec
test eax, eax
je 0x46f16a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040b5ec
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040b7d4
test eax, eax
je 0x46f182
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040561c
push ebx
push 0x470944
call fcn.0046583c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x47ad88]
cmp byte [eax], 0
jne 0x46f1d3
mov eax, ebx
call fcn.0046f3ac
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00471a9c
mov eax, ebx
call fcn.00472660
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46f230
call fcn.00403f64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f654
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x46f6f6
cmp dword [ebx + 0x90], 0
jne 0x46f6f0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46f5cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x46f6f0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x46f6b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f6f0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.004195d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46f6c5
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f914
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x481180]
cmp dword [eax + 0x170], 0
je 0x46fa79
test bl, bl
jne 0x46f9c7
cmp dword [esi + 0x98], 0
jne 0x46f9bc
mov eax, esi
call fcn.004724b0
push eax
push 0x46f820
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x46f98d
mov eax, dword [0x481180]
cmp byte [eax + 0xcf], 0
je 0x46f98d
mov eax, dword [esi + 0xd4]
call fcn.004062d8
mov edi, eax
cmp edi, 0
jl 0x46f98d
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46f976
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46f9bc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004195d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46f99c
inc dword [esi + 0x98]
jmp 0x46fa79
cmp dword [esi + 0x98], 0
jle 0x46fa79
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x46fa79
cmp dword [esi + 0x40], 0
je 0x46fa24
mov eax, dword [0x481180]
cmp byte [eax + 0xcf], 0
je 0x46fa24
mov eax, dword [esi + 0xd4]
call fcn.004062d8
mov edi, eax
cmp edi, 0
jl 0x46fa24
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46fa0d
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46fa53
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.004195d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46fa33
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x465248]
call fcn.00406498
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x470634
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x47069f
cmp byte [ebx + 0xcf], 0
jne 0x47069f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405588
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x47068c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4706ac
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.0040544c
jmp 0x4706ac
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.0040544c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x471c70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x471cde
mov eax, esi
call fcn.0045821c
test al, al
je 0x471cde
mov eax, dword [ebx + 0x80]
call fcn.00457e70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x471cde
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x471cd2
push 0
mov eax, dword [ebx + 0x80]
call fcn.00457e70
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.0044f498
jmp 0x471cde
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00471abc
pop esi
pop ebx
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, reloc.winmm.dll_midiInMessage
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
mov eax, section..00cfg
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2b1e4a4b
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5fe0195e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x418500
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov dword [esp + 4], eax
mov al, byte [0x4ca9f0]
test al, al
je 0x41856d
mov ecx, dword [0x4caa60]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
and ecx, 0xffff
cmp ecx, 0xffffd7b2
push edi
jne 0x41853a
mov eax, dword [0x4c8cdc]
test eax, eax
je 0x41853a
push 0xfffffffffffffff5
call esi
push 0xfffffffffffffff5
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0xc]
push 0
push edx
push 0x1d
push 0x4c99c0
push eax
call edi
push 0xfffffffffffffff5
call esi
lea ecx, [esp + 0xc]
push 0
push ecx
push 2
push 0x4caa70
push eax
call edi
pop edi
pop esi
ret
mov al, byte [0x4c9548]
test al, al
jne 0x418587
push 0
push 0
push 0x4c99c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret

Function at 0x438843
Capabilities:
Encode data using xor

Disassembly:
insd dword es:[edi], dx
salc
rcr byte [edx + 0x6521bb5c], 0xbc
xor al, 0x25
jge 0x4388c2
jno 0x4388af
pop ebp
xor dword [edx - 0x35f82e6], ebp
xchg esi, eax
push esi
add al, 0xff
mov edi, 0x8617c393
pop ss
pop es
cmp dh, byte [ecx - 0x80]
loop 0x438850
salc
pop edi
push ss
mov al, 0x24
punpckhbw mm5, qword [ebx]
cmp eax, edi
cmp byte [ebp + 0x73e6b95d], dl
and dh, byte [ecx + 0xc5a8eec]
mov eax, 0x8a8c2a0a
mov ebp, 0xf177e1c0
rcr byte [esi + 0x262c205a], 0x1b
sub dword [ecx - 0x37], edi
or dword [ecx + 0x36], edx
adc bh, dl
adc al, 0x41
invalid
insb byte es:[edi], dx
sub dword [ecx + 0x5849e904], edi
or eax, 0x995c9888
invalid
fdivr qword [ebp - 0x279563d3]
push esi
push cs
leave
enter 0x2304, 0x54
mov ebp, 0x261ece2a
and dl, byte [ebx]
rcr dword [0xc4f9cf68], 0x30
int3
Function at 0x4be26a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c6390
cmp edx, dword [eax]
je 0x4be28c
add eax, 8
inc ecx
cmp eax, 0x4c6420
jl 0x4be27d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c6390]
jne 0x4be3ba
mov eax, dword [0x4caa7c]
cmp eax, 1
je 0x4be394
test eax, eax
jne 0x4be2bd
cmp dword [0x4c62d4], 1
je 0x4be394
cmp edx, 0xfc
je 0x4be3ba
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4be2f4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004be980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bebb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4be337
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bebb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c29c8
push edi
call fcn.004c0380
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004be980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004be990
lea eax, [ebp - 0xa0]
push 0x4c29a8
push eax
call fcn.004be990
push dword [esi + 0x4c6394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004be990
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c02f4
add esp, 0x2c
pop edi
jmp 0x4be3ba
lea eax, [ebp + 8]
lea esi, [esi + 0x4c6394]
push 0
push eax
push dword [esi]
call fcn.004bebb0
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402f9d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x408310]
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.00401ef7
and dword [ebp - 0x14], 0
cmp dword [0x40941c], 0
mov dword [ebp - 0x18], eax
jne 0x403050
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4030f8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4030f8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40941c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x409420], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x409424], eax
call edi
push eax
call esi
mov dword [0x40942c], eax
test eax, eax
je 0x403050
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x409428], eax
mov eax, dword [0x409428]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4030a9
cmp dword [0x40942c], ecx
je 0x4030a9
push eax
call esi
push dword [0x40942c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4030a9
test ebx, ebx
je 0x4030a9
call edi
test eax, eax
je 0x4030a0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4030a0
test byte [ebp - 8], 1
jne 0x4030a9
or dword [ebp + 0x10], 0x200000
jmp 0x4030dc
mov eax, dword [0x409420]
cmp eax, dword [ebp - 0x18]
je 0x4030dc
push eax
call esi
test eax, eax
je 0x4030dc
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4030dc
mov eax, dword [0x409424]
cmp eax, dword [ebp - 0x18]
je 0x4030dc
push eax
call esi
test eax, eax
je 0x4030dc
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40941c]
call esi
test eax, eax
je 0x4030f8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4030fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403308
leave
ret

Function at 0x403308
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408310]
jne 0x403312
repz ret
jmp fcn.00404576
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x718f0b63
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3da72304
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219