joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4483f0
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 0x44840c
cmp dword [esi + 4], 0
je 0x448439
test byte [ebx + 0x55], 1
jne 0x44842b
mov eax, ebx
call fcn.00446f90
test eax, eax
jne 0x44842b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x448549
mov edx, esi
mov eax, ebx
call fcn.00447f14
jmp 0x448549
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 0x448542
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044a260
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.00444c2c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004483f0
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.0044a260
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448549
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 0x44ec3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c3a30]
cmp byte [eax + 0xc], 0
je 0x44eda9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44eda2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c4b98], 0
jne 0x44ec90
push 0x44edb0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44edb8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4b98], eax
cmp dword [0x4bdde8], 0
jne 0x44ed8b
push 0x44edc8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bdde8], eax
cmp dword [0x4bdde8], 0
je 0x44ed8b
push 0x44edd4
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4b9c], eax
push 0x44ede4
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4ba0], eax
push 0x44edf8
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4ba4], eax
push 0x44ee10
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4ba8], eax
push 0x44ee28
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4bac], eax
push 0x44ee3c
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4bb0], eax
push 0x44ee54
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4bb4], eax
push 0x44ee6c
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4bb8], eax
push 0x44ee88
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4bbc], eax
push 0x44ee94
mov eax, dword [0x4bdde8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c4bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eda9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x452cb4
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.00404438
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x452d03
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.004046a8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45ad84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45add4]
test si, 4
je 0x45ad98
or bl, 1
test si, 8
je 0x45ada2
or bl, 4
test si, 1
je 0x45adac
or bl, 8
test si, 2
je 0x45adb6
or bl, 0x10
test si, 0x10
je 0x45adc0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45adcf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45add8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45ae10]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45adf1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ae00
or bl, 4
test esi, 0x20000000
je 0x45ae0b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4615b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4615c2
add esp, 0xfffffff0
call fcn.00403988
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420fc0
mov eax, dword [0x4c35bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x461954
mov eax, dword [0x4c35cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x461960
mov eax, ebx
call fcn.0046196c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418c40]
call fcn.00403634
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418c40]
call fcn.00403634
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418c40]
call fcn.00403634
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418c40]
call fcn.00403634
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418c40]
call fcn.00403634
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, 0x45dd88
push eax
push 0
push 0
mov eax, dword [0x4c37a8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422a54]
call fcn.004241c8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422a54]
call fcn.004241c8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422a54]
call fcn.004241c8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461d8c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461c68
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461c68
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461c68
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4616ff
call fcn.004039e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461a4c
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 0x461bf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461bd8
mov dl, 1
mov eax, dword [0x41905c]
call fcn.00403634
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404438
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461bc7
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.0044ef9c
test al, al
je 0x461bba
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, 0x461c08
lea eax, [ebp - 0x254]
call fcn.00409ad8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461bba
xor eax, eax
push ebp
push 0x461bb3
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 0x461c40
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461b9c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a8
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 0x461b9c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461bba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461abd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cbb8
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 0x461bfe
lea eax, [ebp - 0x260]
call fcn.00404438
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c4be4]
cmp byte [eax + 0xa5], 0
jne 0x46259d
cmp dword [0x4c4bfc], 0
jne 0x46255e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4624e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c4bfc], eax
cmp dword [0x4c4bf8], 0
jne 0x462579
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c4bf8], eax
cmp dword [0x4c4c00], 0
jne 0x46259d
push esp
push 0
push 0
push 0x46248c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c4c00], eax
pop edx
ret
Function at 0x462694
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4626ab
add esp, 0xfffffff0
call fcn.00403988
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420fc0
mov eax, dword [0x4c3794]
cmp word [eax + 2], 0
jne 0x4626d3
mov eax, dword [0x4c3794]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463e14
mov eax, dword [0x4c3874]
cmp word [eax + 2], 0
jne 0x4626ed
mov eax, dword [0x4c3874]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046400c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418c40]
call fcn.00403634
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418c40]
call fcn.00403634
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 [0x423534]
call fcn.0042ae28
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462874
mov eax, dword [0x4c364c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b1f8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4645bc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c364c]
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.0040d5f0
test eax, eax
je 0x4627e2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d618
test eax, eax
je 0x4627f6
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.004046a8
mov eax, dword [0x4c34cc]
cmp byte [eax], 0
jne 0x46282a
mov eax, ebx
call fcn.0046299c
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.00464798
mov eax, ebx
call fcn.0046515c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46286a
call fcn.004039e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462c1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c4be4]
cmp dword [eax + 0x30], 0
je 0x462cc6
cmp dword [ebx + 0x94], 0
jne 0x462cc0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462bac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462cc0
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 0x462c86
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462cc0
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.0041b028
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462c95
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463828
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 0x46385d
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.00404528
jmp 0x46386a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040448c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464974
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4649b5
mov eax, esi
call fcn.0044a564
test al, al
je 0x4649b5
mov eax, dword [ebx + 0x84]
call fcn.0044a260
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4649b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a260
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46522c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46534e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x64
call fcn.004027b0
mov ebx, eax
push ebx
push 0x64
call sub.kernel32.dll_GetTempPathA
mov eax, 0x4c4c0c
mov edx, ebx
call fcn.00404630
mov eax, ebx
call fcn.004027d0
xor eax, eax
push ebp
push 0x46530b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
lea edx, [ebp - 8]
mov eax, dword [0x4c3850]
mov eax, dword [eax]
call fcn.00464324
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41925c]
call fcn.0041d11c
mov dword [0x4c4c04], eax
push 0
push 0x50
mov eax, dword [0x4c4c04]
call fcn.0041cc88
lea edx, [ebp - 4]
mov ecx, 4
mov eax, dword [0x4c4c04]
call fcn.0041ce94
mov eax, dword [ebp - 4]
cdq
push edx
push eax
mov eax, dword [0x4c4c04]
call fcn.0041cc88
lea edx, [ebp - 4]
mov ecx, 4
mov eax, dword [0x4c4c04]
call fcn.0041ce94
cmp dword [ebp - 4], 0x22322
sete byte [0x4c4c08]
cmp dword [ebp - 4], 0x111111
jne 0x4652ff
mov bl, 1
jmp 0x465301
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x465338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465355
lea eax, [ebp - 8]
call fcn.00404438
ret

Function at 0x46a854
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46a882
mov eax, ebx
call fcn.0046b308
cmp dword [ebx + 0x40], 0
je 0x46a87b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46a8f3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46a8e5
cmp dword [ebx + 8], 0
je 0x46a8a4
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 0x46a8b6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46a8e5
cmp dword [ebx + 8], 0
je 0x46a897
cmp eax, 3
je 0x46a8c9
dec eax
jne 0x46a897
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 0x46a897
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46a897
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46a911
cmp dword [ebx + 0x14], 0xcc
je 0x46a911
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.0046a91c
pop ebx
ret

Function at 0x47b768
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004073e0
ret
Function at 0x47b890
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048e8
xor eax, eax
push ebp
push 0x47b9de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0047b768
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004048f8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47b9bd
xor eax, eax
push ebp
push 0x47b9b6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47b99f
xor eax, eax
push ebp
push 0x47b998
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47b981
xor eax, eax
push ebp
push 0x47b97a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.0047b79c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b981
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b99f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b9bd
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.0047b81c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b9e5
lea eax, [ebp - 4]
call fcn.00404438
ret

Function at 0x47c5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x47c5d8]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47c5b6
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47c5c5
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47c5d4
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x47d8e8
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c3850]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47d90e
push 0
mov eax, dword [0x4c3850]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x481434
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor eax, eax
mov dword [ebp - 0x98], eax
xor eax, eax
push ebp
push 0x48157a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4bea30], 0
jne 0x48155b
mov byte [0x4bea30], 1
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
sub eax, 1
jb 0x481493
je 0x48149f
dec eax
je 0x4814f9
jmp 0x481554
mov byte [0x4cbc44], 1
jmp 0x48155b
cmp dword [ebp - 0x90], 4
jne 0x4814d5
cmp dword [ebp - 0x8c], 0
jne 0x4814d5
cmp dword [ebp - 0x88], 0x3e8
jbe 0x4814c9
mov byte [0x4cbc44], 3
jmp 0x48155b
mov byte [0x4cbc44], 2
jmp 0x48155b
cmp dword [ebp - 0x90], 4
jne 0x4814f0
cmp dword [ebp - 0x8c], 0xa
jne 0x4814f0
mov byte [0x4cbc44], 4
jmp 0x48155b
mov byte [0x4cbc44], 0
jmp 0x48155b
mov eax, dword [ebp - 0x90]
sub eax, 4
jb 0x48150b
je 0x481514
dec eax
je 0x48154b
jmp 0x48155b
mov byte [0x4cbc44], 5
jmp 0x48155b
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.004046a8
mov eax, dword [ebp - 0x98]
mov edx, 0x481590
call fcn.00404844
jne 0x481542
mov byte [0x4cbc44], 7
jmp 0x48155b
mov byte [0x4cbc44], 6
jmp 0x48155b
mov byte [0x4cbc44], 8
jmp 0x48155b
mov byte [0x4cbc44], 0
mov bl, byte [0x4cbc44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481581
lea eax, [ebp - 0x98]
call fcn.00404438
ret
Function at 0x4816f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
xor edx, edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048e8
xor eax, eax
push ebp
push 0x48188b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x2000
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004048f8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, eax
lea eax, [ebp - 0x16c]
mov edx, ebx
and edx, 0xff
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x170]
call fcn.00402e3c
lea eax, [ebp - 0x174]
mov edx, ebx
and edx, 0xff00
shr edx, 8
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x174]
lea eax, [ebp - 0x170]
mov cl, 2
call fcn.00402e0c
lea edx, [ebp - 0x170]
lea eax, [ebp - 8]
call fcn.0040469c
mov eax, dword [ebp - 8]
mov edx, 0x4818a4
call fcn.00404844
jne 0x4817c0
mov bl, 1
jmp 0x481860
mov eax, dword [ebp - 8]
mov edx, 0x4818b0
call fcn.00404844
jne 0x4817d6
mov bl, 2
jmp 0x481860
mov eax, dword [ebp - 8]
mov edx, 0x4818bc
call fcn.00404844
jne 0x4817f5
mov eax, ebx
call fcn.004073c0
test ax, ax
jne 0x4817f5
mov bl, 3
jmp 0x481860
mov eax, dword [ebp - 8]
mov edx, 0x4818bc
call fcn.00404844
jne 0x481814
mov eax, ebx
call fcn.004073c0
test ax, ax
jbe 0x481814
mov bl, 4
jmp 0x481860
lea edx, [ebp - 0x178]
mov eax, 0x4818c8
call fcn.004088ec
mov eax, dword [ebp - 0x178]
push eax
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 4]
call fcn.00409340
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
call fcn.004088ec
mov eax, dword [ebp - 0x17c]
pop edx
call fcn.00408874
test eax, eax
jne 0x48185e
mov bl, 1
jmp 0x481860
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481892
lea eax, [ebp - 0x180]
mov edx, 3
call fcn.0040445c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040445c
ret