joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5df6c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5df6d6
add esp, 0xfffffff0
call fcn.00408a74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c6eac
mov eax, dword [0x6158f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x5dfbb4
mov eax, dword [0x615900]
mov dword [eax + 4], ebx
mov dword [eax], 0x5dfbc0
mov eax, ebx
call fcn.005dfbcc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5d8dc0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x50baec]
call fcn.0051408c
mov esi, eax
mov dword [ebx + 0x8c], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x50baec]
call fcn.0051408c
mov esi, eax
mov dword [ebx + 0x90], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x50baec]
call fcn.0051408c
mov esi, eax
mov dword [ebx + 0x88], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x50baec]
call fcn.0051408c
mov esi, eax
mov dword [ebx + 0x94], esi
mov byte [esi + 0x25], 1
mov dl, 1
mov eax, dword [0x50baec]
call fcn.0051408c
mov esi, eax
mov dword [ebx + 0x98], esi
mov byte [esi + 0x25], 1
mov eax, ebx
call fcn.005e032c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dffdc
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dffdc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dffdc
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dffdc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5dffdc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5df874
call fcn.00408acc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5dfd78
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 0x5dff28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5dff07
mov dl, 1
mov eax, dword [0x48a150]
call fcn.004b6124
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a25c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5dfef6
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.0054d020
test al, al
je 0x5dfee9
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5dff38
lea eax, [ebp - 0x394]
call fcn.00426da8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5dfee9
xor eax, eax
push ebp
push 0x5dfee2
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 0x5dffa8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5dfec9
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040ad58
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5dfec9
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040ad58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dfee9
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5dfde9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b604c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dff2f
lea eax, [ebp - 0x3a0]
call fcn.0040a25c
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x61cc04]
cmp byte [eax + 0xc5], 0
jne 0x5e0d32
cmp dword [0x61cc28], 0
jne 0x5e0cf2
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6154f4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x61cc28], eax
cmp dword [0x61cc24], 0
jne 0x5e0d0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x61cc24], eax
cmp dword [0x61cc2c], 0
jne 0x5e0d32
push esp
push 0
push 0
mov eax, dword [0x6154f0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x61cc2c], eax
pop edx
ret
Function at 0x5e112c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5e1143
add esp, 0xfffffff0
call fcn.00408a74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c6eac
mov eax, dword [0x615774]
cmp byte [eax], 0
jne 0x5e1170
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x615b1c]
cmp word [eax + 2], 0
jne 0x5e118a
mov eax, dword [0x615b1c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005e35f0
mov eax, dword [0x615c64]
cmp word [eax + 2], 0
jne 0x5e11a4
mov eax, dword [0x615c64]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005e3a08
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x50baec]
call fcn.0051408c
mov esi, eax
mov dword [ebx + 0x54], esi
mov byte [esi + 0x25], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5e3fb4
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x510e94]
call fcn.0051e8a0
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5e1398
mov eax, dword [0x6159a8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051ee98
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5e42a0
mov dl, 1
mov eax, dword [0x486290]
call fcn.00408454
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6159a8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426ba8
test eax, eax
je 0x5e12bb
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004269ac
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00426b8c
test eax, eax
je 0x5e12d3
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040ad58
push ebx
push 0x5e2fc8
call fcn.005d0f6c
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x615774]
cmp byte [eax], 0
jne 0x5e1324
mov eax, ebx
call fcn.005e1560
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005e4648
mov eax, ebx
call fcn.005e5180
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5e138f
call fcn.00408acc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e1890
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5e1932
cmp dword [ebx + 0xac], 0
jne 0x5e192c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5e17d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5e192c
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 0x5e18f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5e192c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004b0f68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5e1901
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x61cc04]
cmp dword [eax + 0x190], 0
je 0x5e1dcd
test bl, bl
jne 0x5e1d22
cmp dword [esi + 0xb4], 0
jne 0x5e1d17
mov eax, esi
call fcn.005e4fd0
push eax
push 0x5e1b70
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5e1ce8
mov eax, dword [0x61cc04]
cmp byte [eax + 0xeb], 0
je 0x5e1ce8
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e1cc9
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e1ce8
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e1cd1
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e1d17
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b0f68
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e1cf7
inc dword [esi + 0xb4]
jmp 0x5e1dcd
cmp dword [esi + 0xb4], 0
jle 0x5e1dcd
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5e1dcd
cmp dword [esi + 0x58], 0
je 0x5e1d82
mov eax, dword [0x61cc04]
cmp byte [eax + 0xeb], 0
je 0x5e1d82
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e1d63
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e1d82
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e1d6b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e1db1
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b0f68
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e1d91
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5cd30c]
call fcn.0040d2e4
pop edi
pop esi
pop ebx
ret
Function at 0x5e2bd4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5e2c2f
cmp byte [ebx + 0xeb], 0
jne 0x5e2c2f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a3f4
mov eax, dword [esi]
test eax, eax
je 0x5e2c1c
mov eax, dword [eax - 4]
test eax, eax
jne 0x5e2c3c
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a64c
jmp 0x5e2c3c
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a64c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5e485c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5e48cd
mov eax, esi
call fcn.00546a1c
test al, al
je 0x5e48cd
mov eax, dword [ebx + 0x98]
call fcn.005465b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5e48cd
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x17c]
test al, al
je 0x5e48be
push 0
mov eax, dword [ebx + 0x98]
call fcn.005465b4
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0053c2b8
jmp 0x5e48cd
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005e4668
pop esi
pop ebx
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x401443
pop dword [ebp - 0x2c]
mov eax, 0x401443
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xd6d169a2
sub dword [ebp - 0x3c], 0x887f2457
mov dword [ebp - 0x38], 0xdcbea0cf
sub dword [ebp - 0x38], 0xaa8b548a
mov dword [ebp - 0x34], 0x100e408f
add dword [ebp - 0x34], 0x3c3e039f
mov dword [ebp - 0x30], 0x602e4e28
sub dword [ebp - 0x30], 0x602e4e28
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xefbf9495
sub eax, 0xef7f141d
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x976ea818
sub dword [ebp - 0x3c], 0x22fc3ec2
mov dword [ebp - 0x38], 0x3a9fb0b7
add dword [ebp - 0x38], 0x6ccb0be
mov dword [ebp - 0x34], 0x7d7254d2
sub dword [ebp - 0x34], 0x1a02e866
mov dword [ebp - 0x30], 0x4c24420e
sub dword [ebp - 0x30], 0x4c24420e
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x5815c436
add eax, 0xa82abc46
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3737d
push 0
call eax
mov ecx, 0xa8a0de14
sub ecx, 0xa8a09ab6
xor edx, edx
add edx, eax
mov edi, 0xb526e9ec
sub edi, 0xb4e157ec
add edi, dword [ebp - 0x2c]
mov esi, 0x2feb8f29
sub esi, 0x78623391
xor dword [ebp - 0xc], 0x1801d430
mov ebx, dword [edi]
sub dword [ebp - 8], 0x139f4376
sub ebx, esi
add dword [ebp - 8], esi
mov dword [edx], ebx
sub dword [ebp - 0x14], 0xd59c7295
add edx, 0x1215dfce
sub edx, 0x1215dfca
add edi, 0xddf094ef
add edi, 0x220f6b15
loop 0x401562
add eax, 0xc3b9012f
sub eax, 0xc3b800e4
mov ebx, eax
add eax, 5
mov ecx, 0x5279e7d9
sub ecx, 0x5239e7d9
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4026a0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026ae
call dword [0x44701c]
or eax, eax
je 0x4026af
ret
mov al, 1
jmp fcn.0040272c

Function at 0x4026b8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026c6
call dword [0x447020]
or eax, eax
jne 0x4026c7
ret
mov al, 2
jmp fcn.0040272c

Function at 0x4026d0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402708
test edx, edx
je 0x4026f2
push eax
mov eax, ecx
call dword [0x447024]
pop ecx
or eax, eax
je 0x402701
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.0040272c
mov dword [eax], edx
mov eax, ecx
call dword [0x447020]
or eax, eax
jne 0x4026eb
ret
mov al, 1
jmp fcn.0040272c
test edx, edx
je 0x40271c
push eax
mov eax, edx
call dword [0x44701c]
pop ecx
or eax, eax
je 0x402701
mov dword [ecx], eax
ret

Function at 0x40272c
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x448004]
test ecx, ecx
je 0x40273c
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402755]
jns 0x402750
call fcn.00405ef8
mov eax, dword [eax + 4]
jmp fcn.00403968

Function at 0x402770
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00405ef8
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x402785
ret
xor eax, eax
jmp fcn.0040272c

Function at 0x4028d0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028ff
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403a74
jmp 0x40291d
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004027f8
mov edi, eax
test ebx, ebx
je 0x40291d
cmp dword [esi], 0
je 0x40291d
dec ebx
jmp 0x402906
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402934
Capabilities:
Terminate process

Disassembly:
cmp dword [0x44801c], 0
je 0x402943
call dword [0x44801c]
mov eax, 0xd2
jmp fcn.00403968
push eax
push ecx
mov eax, dword [eax]
call fcn.00402f14
pop ecx
pop eax
je 0x402f53
jmp ebx
pop ecx
jmp 0x402934

Function at 0x402be8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c80
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402c60
xor eax, eax
push ebp
push 0x402c59
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 0x402c9c
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 0x402c60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x402ef8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402f12
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402f12
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402efe
mov al, 0xa
jmp fcn.0040272c
ret

Function at 0x402f44
Capabilities:
Terminate process

Disassembly:
cmp dword [0x44801c], 0
je 0x402943
call dword [0x44801c]
mov eax, 0xd2
jmp fcn.00403968
push eax
push ecx
mov eax, dword [eax]
call fcn.00402f14
pop ecx
pop eax
je 0x402f53
jmp ebx
pop ecx
jmp 0x402934

Function at 0x402f5c
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00402f14
mov eax, ebx
pop ebx
jne 0x402f71
pop ecx
jmp 0x402934
ret

Function at 0x4036e8
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, 0x4484a4
lea edi, [ebp - 0x3c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop dword [0x4484c4]
pop dword [0x4484c0]
mov dword [0x4484b8], ebp
mov dword [0x4484bc], ebx
mov dword [0x4484ac], eax
mov dword [0x4484b4], edx
lea ecx, [ebp - 0x3c]
mov dword [0x4484a4], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x403731
mov ecx, dword [eax]
mov dword [0x4484b0], ecx
call fcn.004035e0
mov eax, dword [ebp + 0xc]
inc eax
mov byte [0x4484c8], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [0x4484cc], edx
je 0x403754
call dword [ecx + eax*4]
mov edx, dword [esp + 4]
test edx, edx
je 0x403761
mov eax, dword [ebp + 0xc]
call edx
cmp dword [0x448020], 0
jne 0x403771
mov byte [0x448028], 1
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00403844
call fcn.00403688
ret 4

Function at 0x403844
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4484a4
mov esi, 0x448038
mov edi, 0x44803c
cmp byte [ebx + 0x24], 0
jne 0x403873
cmp dword [edi], 0
je 0x403873
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403862
cmp dword [0x448040], 0
je 0x4038ba
call fcn.004037c0
cmp byte [0x448048], 0
je 0x4038a0
mov edx, 0x447028
mov eax, 0x44821c
call fcn.00405710
call fcn.00405693
jmp 0x4038b3
push 0
push 0x447048
push 0x447028
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x448040], eax
cmp byte [ebx + 0x24], 2
jne 0x4038ca
cmp dword [esi], 0
jne 0x4038ca
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403628
cmp byte [ebx + 0x24], 1
jbe 0x4038da
cmp dword [esi], 0
je 0x4038f7
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4038f7
call fcn.004050cc
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x4038f7
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403600
cmp byte [ebx + 0x24], 1
jne 0x403905
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403910
call fcn.00403810
cmp dword [ebx], 0
jne 0x40391d
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4038ba

Function at 0x40395c
Capabilities:
Terminate process

Disassembly:
mov dword [0x448038], eax
jmp fcn.00403844
Function at 0x403974
Capabilities:
Terminate process

Disassembly:
cmp dword [0x448018], 0
je 0x403987
push dword [esp]
call dword [0x448018]
ret
mov al, 0x15
jmp fcn.0040272c

Function at 0x403f98
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00403f5c
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403f5c
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403f44
ret

Function at 0x404040
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.0040272c
test ecx, ecx
je fcn.00403f5c
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403f44
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404064
Capabilities:
Terminate process

Disassembly:
xor ecx, ecx
test edx, edx
je 0x404097
push edx
cmp cx, word [edx]
je 0x404090
cmp cx, word [edx + 2]
je 0x40408d
cmp cx, word [edx + 4]
je 0x40408a
cmp cx, word [edx + 6]
je 0x404087
add edx, 8
jmp 0x40406b
add edx, 2
add edx, 2
add edx, 2
mov ecx, edx
pop edx
sub ecx, edx
shr ecx, 1
jmp fcn.00404040

Function at 0x40415c
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x404170
push eax
push 0
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403f44
ret

Function at 0x4041e4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x404223
cmp al, 0xb
je 0x404223
cmp al, 0xc
je 0x40422d
cmp al, 0xd
je 0x404240
cmp al, 0xe
je 0x40425e
cmp al, 0xf
je 0x404223
cmp al, 0x11
je 0x404223
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040272c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x404223
jmp 0x404272
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x40422d
jmp 0x404272
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x4041e4
dec edi
jg 0x404243
pop ebp
jmp 0x404272
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004041b8
dec edi
jg 0x404261
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4041e4