joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434068
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x434084
cmp dword [esi + 4], 0
je 0x4340b1
test byte [ebx + 0x55], 1
jne 0x4340a3
mov eax, ebx
call fcn.00432cc0
test eax, eax
jne 0x4340a3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4341c1
mov edx, esi
mov eax, ebx
call fcn.00433b88
jmp 0x4341c1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4341ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435e38
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043096c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00434068
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435e38
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4341c1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a6a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x456fcc]
cmp byte [eax + 0xc], 0
je 0x43a811
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43a80a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x457bb8], 0
jne 0x43a6f8
push 0x43a818
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43a820
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bb8], eax
cmp dword [0x4569a8], 0
jne 0x43a7f3
push 0x43a830
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4569a8], eax
cmp dword [0x4569a8], 0
je 0x43a7f3
push 0x43a83c
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bbc], eax
push 0x43a84c
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bc0], eax
push 0x43a860
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bc4], eax
push 0x43a878
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bc8], eax
push 0x43a890
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bcc], eax
push 0x43a8a4
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bd0], eax
push 0x43a8bc
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bd4], eax
push 0x43a8d4
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bd8], eax
push 0x43a8f0
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bdc], eax
push 0x43a8fc
mov eax, dword [0x4569a8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457be0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a811
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e8dc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e92b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404460
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44676c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4467bc]
test si, 4
je 0x446780
or bl, 1
test si, 8
je 0x44678a
or bl, 4
test si, 1
je 0x446794
or bl, 8
test si, 2
je 0x44679e
or bl, 0x10
test si, 0x10
je 0x4467a8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4467b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4467c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4467f8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4467d9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4467e8
or bl, 4
test esi, 0x20000000
je 0x4467f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44cdfc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44ce0e
add esp, 0xfffffff0
call fcn.004037f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b3c0
mov eax, dword [0x456ce8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d1a0
mov eax, dword [0x456cf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d1ac
mov eax, ebx
call fcn.0044d1b8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411408]
call fcn.00403474
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411408]
call fcn.00403474
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411408]
call fcn.00403474
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411408]
call fcn.00403474
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411408]
call fcn.00403474
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, 0x449680
push eax
push 0
push 0
mov eax, dword [0x456e18]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41cda8]
call fcn.0041e1ac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41cda8]
call fcn.0041e1ac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41cda8]
call fcn.0041e1ac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d5d8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d4b4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d4b4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d4b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44cf4b
call fcn.00403848
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d298
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d443
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d424
mov dl, 1
mov eax, dword [0x4118f8]
call fcn.00403474
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d413
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.0043aa04
test al, al
je 0x44d406
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44d454
lea eax, [ebp - 0x254]
call fcn.00408e80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d406
xor eax, eax
push ebp
push 0x44d3ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44d48c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d3e8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404460
mov edx, dword [ebp - 0x260]
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 0x44d3e8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d406
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d309
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415a58
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 0x44d44a
lea eax, [ebp - 0x260]
call fcn.004041f8
ret

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

Disassembly:
push ecx
mov eax, dword [0x457bfc]
cmp byte [eax + 0xa5], 0
jne 0x44dde9
cmp dword [0x457c14], 0
jne 0x44ddaa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44dd34
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457c14], eax
cmp dword [0x457c10], 0
jne 0x44ddc5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457c10], eax
cmp dword [0x457c18], 0
jne 0x44dde9
push esp
push 0
push 0
push 0x44dcd8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457c18], eax
pop edx
ret
Function at 0x44dee0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44def7
add esp, 0xfffffff0
call fcn.004037f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b3c0
mov eax, dword [0x456e08]
cmp word [eax + 2], 0
jne 0x44df1f
mov eax, dword [0x456e08]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f52c
mov eax, dword [0x456e90]
cmp word [eax + 2], 0
jne 0x44df39
mov eax, dword [0x456e90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f724
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411408]
call fcn.00403474
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411408]
call fcn.00403474
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d558]
call fcn.004231ec
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e0c0
mov eax, dword [0x456d40]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004235bc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44fc94
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x456d40]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a770
test eax, eax
je 0x44e02e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004087dc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a798
test eax, eax
je 0x44e042
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404460
mov eax, dword [0x456c58]
cmp byte [eax], 0
jne 0x44e076
mov eax, ebx
call fcn.0044e1e8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044fe70
mov eax, ebx
call fcn.004507b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e0b6
call fcn.00403848
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e45c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457bfc]
cmp dword [eax + 0x30], 0
je 0x44e506
cmp dword [ebx + 0x94], 0
jne 0x44e500
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e3ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e500
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_GetWindowLongA
test al, 8
je 0x44e4c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e500
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413aa8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e4d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44efe4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f019
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042e8
jmp 0x44f026
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040424c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45004c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45008d
mov eax, esi
call fcn.0043613c
test al, al
je 0x45008d
mov eax, dword [ebx + 0x84]
call fcn.00435e38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45008d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435e38
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x450f54
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffcc
xor edx, edx
mov dword [ebp - 0x102c], edx
mov dword [ebp - 0x1034], edx
mov dword [ebp - 0x1030], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404698
xor eax, eax
push ebp
push 0x45110a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x1028]
mov edx, 0x1000
call fcn.00450bec
test eax, eax
je 0x4510dc
mov eax, dword [ebp - 0xc]
shr eax, 2
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
mov edx, 0x104
xor eax, eax
call fcn.00404898
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4510dc
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x1028]
push eax
push 0
push 0x411
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4510d0
xor eax, eax
push ebp
push 0x4510c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.00450c10
test eax, eax
je 0x4510b2
mov eax, dword [ebp - 0x18]
call fcn.004044b0
push eax
lea eax, [ebp - 0x18]
call fcn.00404700
mov ecx, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00450c40
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x4510b2
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00404708
mov eax, dword [ebp - 0x1030]
lea edx, [ebp - 0x102c]
call fcn.004080f8
mov eax, dword [ebp - 0x102c]
push eax
lea edx, [ebp - 0x1034]
mov eax, dword [ebp - 4]
call fcn.004080f8
mov edx, dword [ebp - 0x1034]
pop eax
call fcn.004045f4
jne 0x4510b2
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x4510b2
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4510d0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x450fdf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451111
lea eax, [ebp - 0x1034]
mov edx, 3
call fcn.0040421c
lea eax, [ebp - 0x18]
call fcn.004041f8
lea eax, [ebp - 4]
call fcn.004041f8
ret
Function at 0x4027b0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027be
call dword [0x52301c]
or eax, eax
je 0x4027bf
ret
mov al, 1
jmp fcn.0040283c

Function at 0x4027c8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027d6
call dword [0x523020]
or eax, eax
jne 0x4027d7
ret
mov al, 2
jmp fcn.0040283c

Function at 0x4027e0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402818
test edx, edx
je 0x402802
push eax
mov eax, ecx
call dword [0x523024]
pop ecx
or eax, eax
je 0x402811
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.0040283c
mov dword [eax], edx
mov eax, ecx
call dword [0x523020]
or eax, eax
jne 0x4027fb
ret
mov al, 1
jmp fcn.0040283c
test edx, edx
je 0x40282c
push eax
mov eax, edx
call dword [0x52301c]
pop ecx
or eax, eax
je 0x402811
mov dword [ecx], eax
ret

Function at 0x40283c
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x526004]
test ecx, ecx
je 0x40284c
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402865]
jns 0x402860
call fcn.00406bc4
mov eax, dword [eax + 4]
jmp fcn.00403b88

Function at 0x402e18
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 0x402eb0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e90
xor eax, eax
push ebp
push 0x402e89
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 0x402ecc
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 0x402e90
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 0x403130
Capabilities:
Terminate process

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

Function at 0x40317c
Capabilities:
Terminate process

Disassembly:
cmp dword [0x52601c], 0
je 0x402a1b
call dword [0x52601c]
mov eax, 0xd2
jmp fcn.00403b88
push eax
push ecx
mov eax, dword [eax]
call fcn.0040314c
pop ecx
pop eax
je 0x40318b
jmp ebx
pop ecx
jmp 0x402a0c

Function at 0x403194
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.0040314c
mov eax, ebx
pop ebx
jne 0x4031a9
pop ecx
jmp 0x402a0c
ret
Function at 0x403a64
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x5264a4
mov esi, 0x526038
mov edi, 0x52603c
cmp byte [ebx + 0x24], 0
jne 0x403a93
cmp dword [edi], 0
je 0x403a93
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403a82
cmp dword [0x526040], 0
je 0x403ada
call fcn.004039e0
cmp byte [0x526048], 0
je 0x403ac0
mov edx, 0x52302c
mov eax, 0x52621c
call fcn.00406460
call fcn.004063e3
jmp 0x403ad3
push 0
push 0x52304c
push 0x52302c
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x526040], eax
cmp byte [ebx + 0x24], 2
jne 0x403aea
cmp dword [esi], 0
jne 0x403aea
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.004038b4
cmp byte [ebx + 0x24], 1
jbe 0x403afa
cmp dword [esi], 0
je 0x403b17
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403b17
call fcn.00405e38
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403b17
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.0040388c
cmp byte [ebx + 0x24], 1
jne 0x403b25
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403b30
call fcn.00403a30
cmp dword [ebx], 0
jne 0x403b3d
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 0x403ada

Function at 0x4041f8
Capabilities:
Terminate process

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

Function at 0x4042a0
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.0040283c
test ecx, ecx
je fcn.004041bc
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x4041a4
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404378
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 0x4043b7
cmp al, 0xb
je 0x4043b7
cmp al, 0xc
je 0x4043c1
cmp al, 0xd
je 0x4043d4
cmp al, 0xe
je 0x4043f2
cmp al, 0xf
je 0x4043b7
cmp al, 0x11
je 0x4043b7
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040283c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4043b7
jmp 0x404406
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 0x4043c1
jmp 0x404406
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 fcn.00404378
dec edi
jg 0x4043d7
pop ebp
jmp 0x404406
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040434c
dec edi
jg 0x4043f5
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40440c
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404378