joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b08c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4a2b90], 0
je 0x45b1e7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a1d18]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45b1e7
mov eax, dword [0x4a2b94]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a2b90]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x45b1b6
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4a2b90]
call fcn.0041b098
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45b1aa
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45b1aa
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45b1aa
mov eax, dword [ebp - 0x14]
call fcn.00466770
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b1aa
push ebp
call fcn.0045b040
pop ecx
test al, al
jne 0x45b1aa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45b166
mov eax, dword [ebp - 0x14]
call fcn.00464b70
dec eax
jle 0x45b1aa
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004038a4
cmp byte [ebp - 1], 0
je 0x45b1aa
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45b1aa
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a2b94]
call fcn.0045a508
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x45b0f8
mov eax, dword [0x4a2b94]
cmp dword [eax + 8], 0
jle 0x45b1ce
mov eax, dword [0x4a2b94]
call fcn.0045a5b4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45b1e7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045ae7c
pop ecx
test al, al
jne 0x45b1e7
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45f930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x45f983
mov eax, dword [ebp - 0x14]
call fcn.00479fe4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45f983
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x45f983
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x45fb12
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x45f9cc
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x45f9cc
mov eax, dword [ebp - 0x14]
call fcn.00479fe4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45fb07
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x45fb12
jmp 0x45fb07
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x45fae2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x45fae2
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x45fa0f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x45fa09
sub eax, 3
je 0x45fa09
sub eax, 3
jne 0x45fa0f
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x45fa26
dec eax
je 0x45fa3d
dec eax
je 0x45fa64
dec eax
je 0x45fa3d
jmp 0x45fa71
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4a1d18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00485c18
jmp 0x45fb07
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x45fa57
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.004038a4
jmp 0x45fb12
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x45fb07
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x45fb07
mov eax, dword [0x4a2b4c]
cmp byte [eax + 0x20], 0
je 0x45fb07
mov eax, dword [0x4a2b4c]
cmp dword [eax + 0x1c], 0
je 0x45fb07
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4a2b4c]
cmp eax, dword [edx + 0x1c]
jne 0x45fb07
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00479f00
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.004038a4
jmp 0x45fb12
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x45fb07
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0045d988
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463ee4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x463f05
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x463f3a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x463f2a
mov eax, dword [ebp - 4]
call fcn.004624c0
test eax, eax
jne 0x463f2a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x464064
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004638b8
jmp 0x464064
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x46405d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00466770
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0045f7e4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00463ee4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00466770
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464064
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x46c574
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4a1eb4]
cmp byte [eax + 0xc], 0
je 0x46c6e6
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46c6df
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a2ba0], 0
jne 0x46c5cd
push 0x46c6ec
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x46c6f4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2ba0], eax
cmp dword [0x4a0eec], 0
jne 0x46c6c8
push 0x46c704
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a0eec], eax
cmp dword [0x4a0eec], 0
je 0x46c6c8
push 0x46c710
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2ba4], eax
push 0x46c720
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2ba8], eax
push 0x46c734
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bac], eax
push 0x46c74c
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bb0], eax
push 0x46c764
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bb4], eax
push 0x46c778
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bb8], eax
push 0x46c790
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bbc], eax
push 0x46c7a8
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bc0], eax
push 0x46c7c4
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bc4], eax
push 0x46c7d0
mov eax, dword [0x4a0eec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a2bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c6e6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404468
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x471225
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.004046d8
mov esp, ebp
pop ebp
ret
Function at 0x479e5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x479eb4]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x479e76
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x479e80
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x479e8a
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x479e94
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x479e9e
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x479eae
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x479eb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x479efc]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x479ed9
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x479ee9
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x479ef3
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x481e6c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x481e7e
add esp, 0xfffffff0
call fcn.00403a14
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00424dcc
mov eax, dword [0x4a1b14]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4823dc
mov eax, dword [0x4a1b20]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4823fc
mov eax, dword [ebp - 4]
call fcn.0048241c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418374]
call fcn.0040366c
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418374]
call fcn.0040366c
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x418374]
call fcn.0040366c
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x418374]
call fcn.0040366c
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x418374]
call fcn.0040366c
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x47d82c
push eax
push 0
push 0
mov eax, dword [0x4a1c88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427014]
call fcn.0042893c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x427014]
call fcn.0042893c
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x427014]
call fcn.0042893c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00482968
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4827b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4827b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4827b4
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x482006
call fcn.00403a6c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x48256c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x482737
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x482715
mov dl, 1
mov eax, dword [0x4189d8]
call fcn.0040366c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404468
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4826fe
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0046c914
test al, al
je 0x4826f2
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x482748
lea eax, [ebp - 0x25c]
call fcn.0040a360
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4826f2
xor eax, eax
push ebp
push 0x4826eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x482780
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4826d4
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004046d8
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4826d4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004046d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4826f2
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4825e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0041e084
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48273e
lea eax, [ebp - 0x268]
call fcn.00404468
ret
Function at 0x483270
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a2bec]
cmp byte [eax + 0xa5], 0
jne 0x4832e7
cmp dword [0x4a2c04], 0
jne 0x4832a5
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48322c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a2c04], eax
cmp dword [0x4a2c00], 0
jne 0x4832c0
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a2c00], eax
cmp dword [0x4a2c08], 0
jne 0x4832e7
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4831cc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a2c08], eax
pop ecx
pop ebp
ret

Function at 0x4833b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00483348
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4833d1
xor eax, eax
call fcn.00483380
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x4833eb
mov al, 1
call fcn.00483380
mov esp, ebp
pop ebp
ret

Function at 0x483ab4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4a2bec]
cmp dword [eax + 0x30], 0
je 0x483b7e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x483b75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x483a34
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x483b75
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x483b2f
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x483b75
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041b098
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x483b44
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x484894
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x4848d9
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404558
jmp 0x4848ea
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004044bc
mov esp, ebp
pop ebp
ret
Function at 0x485d94
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x485de7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00466c40
test al, al
je 0x485de7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00466770
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x485de7
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00466770
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x489748
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x489776
mov eax, ebx
call fcn.0048a1fc
cmp dword [ebx + 0x40], 0
je 0x48976f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4897e7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4897d9
cmp dword [ebx + 8], 0
je 0x489798
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4897aa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4897d9
cmp dword [ebx + 8], 0
je 0x48978b
cmp eax, 3
je 0x4897bd
dec eax
jne 0x48978b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48978b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48978b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x489805
cmp dword [ebx + 0x14], 0xcc
je 0x489805
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00489810
pop ebx
ret

Function at 0x49c528
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404918
xor eax, eax
push ebp
push 0x49c5e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00407294
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 8]
cmp eax, 0xffff
jbe 0x49c576
call fcn.004035d0
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404928
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x49c5b8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c5e7
lea eax, [ebp - 4]
call fcn.00404468
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

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