joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476428
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 0x476444
cmp dword [esi + 4], 0
je 0x476471
test byte [ebx + 0x55], 1
jne 0x476463
mov eax, ebx
call fcn.00474fc8
test eax, eax
jne 0x476463
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x476581
mov edx, esi
mov eax, ebx
call fcn.00475f4c
jmp 0x476581
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 0x47657a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00478298
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.00472b50
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00476428
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.00478298
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476581
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 0x47ccb8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x6a8fcc]
cmp byte [eax + 0xc], 0
je 0x47ce25
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ce1e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6a9bcc], 0
jne 0x47cd0c
push 0x47ce2c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x47ce34
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bcc], eax
cmp dword [0x6a422c], 0
jne 0x47ce07
push 0x47ce44
call sub.kernel32.dll_LoadLibraryA
mov dword [0x6a422c], eax
cmp dword [0x6a422c], 0
je 0x47ce07
push 0x47ce50
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bd0], eax
push 0x47ce60
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bd4], eax
push 0x47ce74
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bd8], eax
push 0x47ce8c
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bdc], eax
push 0x47cea4
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9be0], eax
push 0x47ceb8
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9be4], eax
push 0x47ced0
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9be8], eax
push 0x47cee8
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bec], eax
push 0x47cf04
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bf0], eax
push 0x47cf10
mov eax, dword [0x6a422c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6a9bf4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ce25
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x481640
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.00404be8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x48168f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00404e68
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4897b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x489808]
test si, 4
je 0x4897cc
or bl, 1
test si, 8
je 0x4897d6
or bl, 4
test si, 1
je 0x4897e0
or bl, 8
test si, 2
je 0x4897ea
or bl, 0x10
test si, 0x10
je 0x4897f4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x489803
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x48980c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x489844]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x489825
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x489834
or bl, 4
test esi, 0x20000000
je 0x48983f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x48ffe4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48fff6
add esp, 0xfffffff0
call fcn.004040bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427bfc
mov eax, dword [0x6a7f6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x490388
mov eax, dword [0x6a7f94]
mov dword [eax + 4], ebx
mov dword [eax], 0x490394
mov eax, ebx
call fcn.004903a0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c2bc]
call fcn.00403d28
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c2bc]
call fcn.00403d28
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c2bc]
call fcn.00403d28
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c2bc]
call fcn.00403d28
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c2bc]
call fcn.00403d28
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, 0x48c7bc
push eax
push 0
push 0
mov eax, dword [0x6a8524]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429740]
call fcn.0042aeb4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429740]
call fcn.0042aeb4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429740]
call fcn.0042aeb4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00490898
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49072c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49072c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49072c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x490133
call fcn.00404114
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x490510
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 0x4906bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x49069c
mov dl, 1
mov eax, dword [0x41cacc]
call fcn.00403d28
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404be8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49068b
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.0047d018
test al, al
je 0x49067e
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, 0x4906cc
lea eax, [ebp - 0x254]
call fcn.0040abe0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49067e
xor eax, eax
push ebp
push 0x490677
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x490704
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x490660
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404e68
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 0x490660
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49067e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x490581
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421a7c
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 0x4906c2
lea eax, [ebp - 0x260]
call fcn.00404be8
ret

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

Disassembly:
push ecx
mov eax, dword [0x6a9c18]
cmp byte [eax + 0xa5], 0
jne 0x4910a9
cmp dword [0x6a9c30], 0
jne 0x49106a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x490ff4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x6a9c30], eax
cmp dword [0x6a9c2c], 0
jne 0x491085
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x6a9c2c], eax
cmp dword [0x6a9c34], 0
jne 0x4910a9
push esp
push 0
push 0
push 0x490f98
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x6a9c34], eax
pop edx
ret
Function at 0x4911d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4911e7
add esp, 0xfffffff0
call fcn.004040bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427bfc
mov eax, dword [0x6a84d0]
cmp word [eax + 2], 0
jne 0x49120f
mov eax, dword [0x6a84d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00492950
mov eax, dword [0x6a8884]
cmp word [eax + 2], 0
jne 0x491229
mov eax, dword [0x6a8884]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00492b48
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41c2bc]
call fcn.00403d28
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41c2bc]
call fcn.00403d28
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], 0xff000018
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 [0x42a220]
call fcn.004325d0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4913b0
mov eax, dword [0x6a810c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004329a0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4930f8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x6a810c]
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.0040eb40
test eax, eax
je 0x49131e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a5c0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040eb68
test eax, eax
je 0x491332
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, 0x100
call fcn.00404e68
mov eax, dword [0x6a7b24]
cmp byte [eax], 0
jne 0x491366
mov eax, ebx
call fcn.004914d8
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.004932d4
mov eax, ebx
call fcn.00493c98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4913a6
call fcn.00404114
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491758
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x6a9c18]
cmp dword [eax + 0x30], 0
je 0x491802
cmp dword [ebx + 0x94], 0
jne 0x4917fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4916e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4917fc
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 0x4917c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4917fc
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.0041eeb8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4917d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x492364
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 0x492399
push 0x100
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.00404cd8
jmp 0x4923a6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4934b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4934f1
mov eax, esi
call fcn.0047859c
test al, al
je 0x4934f1
mov eax, dword [ebx + 0x84]
call fcn.00478298
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4934f1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00478298
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4a565c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00489848
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x4a89e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, eax
mov edx, esi
mov eax, dword [0x6a9e50]
call fcn.0041ef14
inc eax
je 0x4a8aa6
test bl, bl
je 0x4a8a1b
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe4]
test al, al
jne 0x4a8a1b
xor eax, eax
mov dword [esi + 0x24c], eax
jmp 0x4a8aa6
mov edx, esi
mov eax, dword [0x6a9e50]
call fcn.0041f054
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x11c]
mov byte [0x6a46e8], 1
mov dword [0x6a9e44], esi
xor eax, eax
push ebp
push 0x4a8a9f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.00478298
call fcn.004a5918
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
call fcn.0048f1a8
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x118]
call sub.user32.dll_GetCapture
mov edx, eax
mov eax, esi
call fcn.004a54d8
test al, al
je 0x4a8a8a
xor eax, eax
call fcn.0046eb2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8aa6
mov byte [0x6a46e8], 0
ret
pop esi
pop ebx
pop ebp
ret
Function at 0x4b3100
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4b3108
push ebx
mov ebx, 0x6a9e94
xor eax, eax
push ebp
push 0x4b331d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x6a8ce8]
call fcn.00497264
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00404c3c
lea edx, [ebp - 8]
mov eax, dword [0x6a88d4]
call fcn.00497264
mov edx, dword [ebp - 8]
lea eax, [ebx + 4]
call fcn.00404c3c
lea edx, [ebp - 0xc]
mov eax, dword [0x6a88b4]
call fcn.00497264
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 8]
call fcn.00404c3c
lea edx, [ebp - 0x10]
mov eax, dword [0x6a7e18]
call fcn.00497264
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0xc]
call fcn.00404c3c
lea edx, [ebp - 0x14]
mov eax, dword [0x6a8094]
call fcn.00497264
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404c3c
lea edx, [ebp - 0x18]
mov eax, dword [0x6a8dd0]
call fcn.00497264
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404c3c
lea edx, [ebp - 0x1c]
mov eax, dword [0x6a8fa0]
call fcn.00497264
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x18]
call fcn.00404c3c
lea edx, [ebp - 0x20]
mov eax, dword [0x6a822c]
call fcn.00497264
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404c3c
lea edx, [ebp - 0x24]
mov eax, dword [0x6a7dac]
call fcn.00497264
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x20]
call fcn.00404c3c
lea edx, [ebp - 0x28]
mov eax, dword [0x6a8010]
call fcn.00497264
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x24]
call fcn.00404c3c
lea edx, [ebp - 0x2c]
mov eax, dword [0x6a7ab0]
call fcn.00497264
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x28]
call fcn.00404c3c
lea edx, [ebp - 0x30]
mov eax, dword [0x6a7f68]
call fcn.00497264
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x2c]
call fcn.00404c3c
lea edx, [ebp - 0x34]
mov eax, dword [0x6a7d8c]
call fcn.00497264
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x30]
call fcn.00404c3c
lea edx, [ebp - 0x38]
mov eax, dword [0x6a88b0]
call fcn.00497264
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x34]
call fcn.00404c3c
lea edx, [ebp - 0x3c]
mov eax, dword [0x6a8c58]
call fcn.00497264
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x38]
call fcn.00404c3c
lea edx, [ebp - 0x40]
mov eax, dword [0x6a8820]
call fcn.00497264
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x3c]
call fcn.00404c3c
lea edx, [ebp - 0x44]
mov eax, dword [0x6a8628]
call fcn.00497264
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x40]
call fcn.00404c3c
lea edx, [ebp - 0x48]
mov eax, dword [0x6a7f54]
call fcn.00497264
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x44]
call fcn.00404c3c
lea edx, [ebp - 0x4c]
mov eax, dword [0x6a8d30]
call fcn.00497264
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x48]
call fcn.00404c3c
lea edx, [ebp - 0x50]
mov eax, dword [0x6a7ad8]
call fcn.00497264
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x4c]
call fcn.00404c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3324
lea eax, [ebp - 0x50]
mov edx, 0x14
call fcn.00404c0c
ret
Function at 0x4c3f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004c3f40
cmp ebx, eax
je 0x4c3fc7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004bf228
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004c3f18
xor eax, eax
push ebp
push 0x4c3fc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041ff28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3fc7
mov eax, dword [ebp - 4]
call fcn.004c3f2c
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x50d450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00489848
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x52339c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5233ca
mov eax, ebx
call fcn.00523e50
cmp dword [ebx + 0x40], 0
je 0x5233c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x52343b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x52342d
cmp dword [ebx + 8], 0
je 0x5233ec
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 0x5233fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x52342d
cmp dword [ebx + 8], 0
je 0x5233df
cmp eax, 3
je 0x523411
dec eax
jne 0x5233df
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 0x5233df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5233df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x523459
cmp dword [ebx + 0x14], 0xcc
je 0x523459
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.00523464
pop ebx
ret
Function at 0x534878
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 [0x41ba70]
call fcn.004057b4
xor eax, eax
push ebp
push 0x5349bc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6a6134], 0
jne 0x5348cb
mov ecx, dword [0x6a7ba8]
mov dl, 1
mov eax, dword [0x408964]
call fcn.0040dd6c
call fcn.004045e8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403238
mov eax, ebx
call fcn.004054dc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x5349cc
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.00406ba8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004054ec
test eax, eax
jle 0x534963
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 0x53495c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404e80
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404e68
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409834
test eax, eax
jne 0x53495c
mov ebx, 0x15
jmp 0x534968
mov ebx, 0x10
jmp 0x534968
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 [0x6a6134]
call fcn.00534774
mov eax, dword [ebp - 8]
call fcn.00534774
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5349c3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c0c
lea eax, [ebp - 0x10]
mov edx, dword [0x41ba70]
call fcn.00405884
ret

Function at 0x54b8e8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x54b90d
cmp dword [esp + 4], 5
jb 0x54b90d
mov al, 1
jmp 0x54b90f
xor eax, eax
add esp, 0x94
ret