joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a498
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 0x43a4b4
cmp dword [esi + 4], 0
je 0x43a4e1
test byte [ebx + 0x55], 1
jne 0x43a4d3
mov eax, ebx
call fcn.004390a4
test eax, eax
jne 0x43a4d3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43a5f1
mov edx, esi
mov eax, ebx
call fcn.00439fbc
jmp 0x43a5f1
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 0x43a5ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043c340
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.00436da0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043a498
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.0043c340
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a5f1
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 0x440c68
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b8aa4]
cmp byte [eax + 0xc], 0
je 0x440dd5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440dce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b9b68], 0
jne 0x440cbc
push 0x440ddc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440de4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b68], eax
cmp dword [0x4b6b9c], 0
jne 0x440db7
push 0x440df4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b6b9c], eax
cmp dword [0x4b6b9c], 0
je 0x440db7
push 0x440e00
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b6c], eax
push 0x440e10
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b70], eax
push 0x440e24
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b74], eax
push 0x440e3c
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b78], eax
push 0x440e54
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b7c], eax
push 0x440e68
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b80], eax
push 0x440e80
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b84], eax
push 0x440e98
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b88], eax
push 0x440eb4
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b8c], eax
push 0x440ec0
mov eax, dword [0x4b6b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440dd5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x444e18
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.0040435c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444e67
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.004045cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c874
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c8c4]
test si, 4
je 0x44c888
or bl, 1
test si, 8
je 0x44c892
or bl, 4
test si, 1
je 0x44c89c
or bl, 8
test si, 2
je 0x44c8a6
or bl, 0x10
test si, 0x10
je 0x44c8b0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c8bf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44c8c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c900]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c8e1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c8f0
or bl, 4
test esi, 0x20000000
je 0x44c8fb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452fc4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452fd6
add esp, 0xfffffff0
call fcn.00403908
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d728
mov eax, dword [0x4b8710]
mov dword [eax + 4], ebx
mov dword [eax], 0x453368
mov eax, dword [0x4b871c]
mov dword [eax + 4], ebx
mov dword [eax], 0x453374
mov eax, ebx
call fcn.00453380
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004035a0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004035a0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004035a0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004035a0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4157ec]
call fcn.004035a0
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, 0x44f798
push eax
push 0
push 0
mov eax, dword [0x4b8880]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f18c]
call fcn.004209c4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f18c]
call fcn.004209c4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f18c]
call fcn.004209c4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004537d0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453698
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453698
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453698
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453113
call fcn.00403960
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45347c
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 0x453627
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453608
mov dl, 1
mov eax, dword [0x415c08]
call fcn.004035a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040435c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4535f7
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.00440fc8
test al, al
je 0x4535ea
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, 0x453638
lea eax, [ebp - 0x254]
call fcn.0040945c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4535ea
xor eax, eax
push ebp
push 0x4535e3
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 0x453670
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4535cc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045cc
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 0x4535cc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4535ea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4534ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419854
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 0x45362e
lea eax, [ebp - 0x260]
call fcn.0040435c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b9bb4]
cmp byte [eax + 0xa5], 0
jne 0x453fe1
cmp dword [0x4b9bcc], 0
jne 0x453fa2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453f2c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b9bcc], eax
cmp dword [0x4b9bc8], 0
jne 0x453fbd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b9bc8], eax
cmp dword [0x4b9bd0], 0
jne 0x453fe1
push esp
push 0
push 0
push 0x453ed0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b9bd0], eax
pop edx
ret
Function at 0x454674
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b9bb4]
cmp dword [eax + 0x30], 0
je 0x45471e
cmp dword [ebx + 0x94], 0
jne 0x454718
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454604
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454718
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 0x4546de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454718
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.00417b54
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4546ed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45527c
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 0x4552b1
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.0040444c
jmp 0x4552be
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043b0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456478
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4564b9
mov eax, esi
call fcn.0043c644
test al, al
je 0x4564b9
mov eax, dword [ebx + 0x84]
call fcn.0043c340
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4564b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c340
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45719c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414de8]
call fcn.00404ccc
xor eax, eax
push ebp
push 0x4572e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b6dd0], 0
jne 0x4571ef
mov ecx, dword [0x4b8640]
mov dl, 1
mov eax, dword [0x40766c]
call fcn.0040bfc8
call fcn.00403d70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fc4
mov eax, ebx
call fcn.00404b98
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4572f0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405d0c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ba8
test eax, eax
jle 0x457287
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x457280
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004045e4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004045cc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040855c
test eax, eax
jne 0x457280
mov ebx, 0x15
jmp 0x45728c
mov ebx, 0x10
jmp 0x45728c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b6dd0]
call fcn.004570f4
mov eax, dword [ebp - 8]
call fcn.004570f4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4572e7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404380
lea eax, [ebp - 0x10]
mov edx, dword [0x414de8]
call fcn.00404d9c
ret
Function at 0x46388c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x4638b6
cmp dword [ebx + 0x64], 0
jne 0x4638b6
cmp dword [ebx + 0x6c], 0
jne 0x4638b6
mov esi, edi
jmp 0x463944
cmp esi, 0xffffffff
jne 0x4638c1
dec esi
jmp 0x463944
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x463944
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00462ef4
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x46390c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x463911
mov word [edx], 0
dec eax
test eax, eax
jne 0x4638f2
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x463938
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x46393d
mov word [edx], 0
dec eax
test eax, eax
jne 0x46391e
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x4639a2
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00463614
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x46398d
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4639a2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x463896
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46e07c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x46e091
add esp, 0xfffffff0
call fcn.00403908
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040480c
xor eax, eax
push ebp
push 0x46e154
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046a1f8
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166f8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166f8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166f8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004166f8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00416720
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e15b
lea eax, [ebp - 4]
call fcn.0040435c
ret
Function at 0x472480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47255d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x472574
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004043b0
push 0xffffffffffffffff
mov ecx, 0x472584
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x4725a0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045ef14
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4725bc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045ee00
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4725d0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045ee00
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4725e8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045ef14
mov byte [ebx + 0x34], al
mov ecx, 0x4725fc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00469ed4
mov byte [ebx + 0x35], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472564
lea eax, [ebp - 4]
call fcn.0040435c
ret

Function at 0x47c30c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x47c344]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47c322
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47c331
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47c340
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x47cc4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x431d18]
call fcn.00403768
test al, al
je 0x47cc8e
mov eax, dword [0x4b8914]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x47cc8e
mov edx, dword [0x4b8914]
xor edx, edx
call fcn.0044ec78
push 0
mov eax, dword [0x4b8914]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x498c98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x498cd0]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498cae
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498cbd
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498ccc
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x49a0dc
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4b8914]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49a102
push 0
mov eax, dword [0x4b8914]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4a4d98
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a4dc6
mov eax, ebx
call fcn.004a584c
cmp dword [ebx + 0x40], 0
je 0x4a4dbf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a4e37
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a4e29
cmp dword [ebx + 8], 0
je 0x4a4de8
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 0x4a4dfa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a4e29
cmp dword [ebx + 8], 0
je 0x4a4ddb
cmp eax, 3
je 0x4a4e0d
dec eax
jne 0x4a4ddb
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 0x4a4ddb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a4ddb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a4e55
cmp dword [ebx + 0x14], 0xcc
je 0x4a4e55
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.004a4e60
pop ebx
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret