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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x46cf38
mov eax, esi
call fcn.00484758
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46cf38
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x46cf38
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x46d077
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x46cf78
cmp eax, 0x108
ja 0x46cf78
mov eax, esi
call fcn.00484758
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46d06e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x46d077
jmp 0x46d06e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x46d057
cmp eax, 0x20a
ja 0x46d057
test byte [esi + 0x50], 0x80
jne 0x46cfaa
sub eax, 0x203
je 0x46cfa7
sub eax, 3
je 0x46cfa7
sub eax, 3
jne 0x46cfaa
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x46cfbe
dec eax
je 0x46cfd3
dec eax
je 0x46cff0
dec eax
je 0x46cfd3
jmp 0x46cff7
mov ecx, ebx
mov eax, dword [0x55e08c]
mov eax, dword [eax]
mov edx, esi
call fcn.0048e3d4
jmp 0x46d06e
cmp byte [esi + 0x5d], 1
jne 0x46cfe9
mov eax, esi
mov si, 0xffed
call fcn.004040f8
jmp 0x46d077
or word [esi + 0x54], 1
jmp 0x46d06e
and word [esi + 0x54], 0xfffe
jmp 0x46d06e
mov eax, dword [0x55fb54]
cmp byte [eax + 0x20], 0
je 0x46d06e
mov eax, dword [0x55fb54]
cmp dword [eax + 0x1c], 0
je 0x46d06e
mov eax, dword [ebx]
mov edx, dword [0x55fb54]
cmp eax, dword [edx + 0x1c]
jne 0x46d06e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0048467c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004040f8
jmp 0x46d077
cmp eax, 0xb00b
jne 0x46d06e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0046b7e4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4705e4
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 0x470600
cmp dword [esi + 4], 0
je 0x47062d
test byte [ebx + 0x55], 1
jne 0x47061f
mov eax, ebx
call fcn.0046f184
test eax, eax
jne 0x47061f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x47073d
mov edx, esi
mov eax, ebx
call fcn.00470108
jmp 0x47073d
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 0x470736
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00472454
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.0046ce20
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004705e4
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.00472454
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47073d
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 0x476e74
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x55e3f0]
cmp byte [eax + 0xc], 0
je 0x476fe1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476fda
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [fcn.0055fba8], 0
jne 0x476ec8
push 0x476fe8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x476ff0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [fcn.0055fba8], eax
cmp dword [0x558010], 0
jne 0x476fc3
push 0x477000
call sub.kernel32.dll_LoadLibraryA
mov dword [0x558010], eax
cmp dword [0x558010], 0
je 0x476fc3
push 0x47700c
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbac], eax
push 0x47701c
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbb0], eax
push 0x477030
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbb4], eax
push 0x477048
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbb8], eax
push 0x477060
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbbc], eax
push 0x477074
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbc0], eax
push 0x47708c
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbc4], eax
push 0x4770a4
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbc8], eax
push 0x4770c0
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [fcn.0055fbcc], eax
push 0x4770cc
mov eax, dword [0x558010]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fbd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476fe1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x47baec
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.00404e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x47bb3b
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.00405080
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4845ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x48463c]
test si, 4
je 0x484600
or bl, 1
test si, 8
je 0x48460a
or bl, 4
test si, 1
je 0x484614
or bl, 8
test si, 2
je 0x48461e
or bl, 0x10
test si, 0x10
je 0x484628
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x484637
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x484640
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x484678]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x484659
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x484668
or bl, 4
test esi, 0x20000000
je 0x484673
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x48b158
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48b16a
add esp, 0xfffffff0
call fcn.00404260
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004242a0
mov eax, dword [0x55dc88]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b4fc
mov eax, dword [0x55dc98]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b508
mov eax, ebx
call fcn.0048b514
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418398]
call fcn.00403ecc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418398]
call fcn.00403ecc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418398]
call fcn.00403ecc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418398]
call fcn.00403ecc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418398]
call fcn.00403ecc
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, 0x487930
push eax
push 0
push 0
mov eax, dword [0x55df80]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425d6c]
call fcn.00427504
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425d6c]
call fcn.00427504
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425d6c]
call fcn.00427504
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048b934
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b810
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b810
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48b810
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48b2a7
call fcn.004042b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48b5f4
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 0x48b79f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48b780
mov dl, 1
mov eax, dword [0x418ba8]
call fcn.00403ecc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48b76f
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.004771d4
test al, al
je 0x48b762
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, 0x48b7b0
lea eax, [ebp - 0x254]
call fcn.0040a8e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48b762
xor eax, eax
push ebp
push 0x48b75b
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 0x48b7e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48b744
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405080
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 0x48b744
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b762
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48b665
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041dbd0
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 0x48b7a6
lea eax, [ebp - 0x260]
call fcn.00404e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x55fbf4]
cmp byte [eax + 0xa5], 0
jne 0x48c145
cmp dword [0x55fc0c], 0
jne 0x48c106
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48c090
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x55fc0c], eax
cmp dword [0x55fc08], 0
jne 0x48c121
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x55fc08], eax
cmp dword [0x55fc10], 0
jne 0x48c145
push esp
push 0
push 0
push 0x48c034
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55fc10], eax
pop edx
ret
Function at 0x48c23c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48c253
add esp, 0xfffffff0
call fcn.00404260
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004242a0
mov eax, dword [0x55df50]
cmp word [eax + 2], 0
jne 0x48c27b
mov eax, dword [0x55df50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048d9bc
mov eax, dword [0x55e0d0]
cmp word [eax + 2], 0
jne 0x48c295
mov eax, dword [0x55e0d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048dbb4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418398]
call fcn.00403ecc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418398]
call fcn.00403ecc
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 [0x42684c]
call fcn.0042e754
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48c41c
mov eax, dword [0x55dd60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042eb24
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48e164
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x55dd60]
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.0040e450
test eax, eax
je 0x48c38a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a2c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e478
test eax, eax
je 0x48c39e
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.00405080
mov eax, dword [0x55dad0]
cmp byte [eax], 0
jne 0x48c3d2
mov eax, ebx
call fcn.0048c544
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.0048e340
mov eax, ebx
call fcn.0048ed04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48c412
call fcn.004042b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c7c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x55fbf4]
cmp dword [eax + 0x30], 0
je 0x48c86e
cmp dword [ebx + 0x94], 0
jne 0x48c868
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48c754
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48c868
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 0x48c82e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48c868
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.0041aeec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48c83d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48d3d0
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 0x48d405
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.00404f00
jmp 0x48d412
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48e51c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48e55d
mov eax, esi
call fcn.00472758
test al, al
je 0x48e55d
mov eax, dword [ebx + 0x84]
call fcn.00472454
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48e55d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00472454
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x49d560
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x49d687
test dl, dl
jne 0x49d58a
mov eax, ebx
call fcn.004241f4
jmp 0x49d69d
mov eax, dword [ebx + 0x60]
call fcn.00406314
dec eax
test eax, eax
jl 0x49d5fd
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
xor eax, eax
push ebp
push 0x49d5eb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xdead
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
call fcn.00403efc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d5f5
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0x49d5a2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0x60
mov ecx, 1
mov edx, dword [0x495320]
call fcn.004064d0
add esp, 4
xor eax, eax
push ebp
push 0x49d652
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xdead
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [ebp - 4]
add eax, 8
call fcn.0040f48c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d65c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x49d677
push 0
push 0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
push edx
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x50]
call fcn.00431db4
jmp 0x49d69d
mov ecx, 0x49d6ac
mov dl, 1
mov eax, dword [0x4086c4]
call fcn.0040d5c0
call fcn.0040478c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49edf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
cmp ebx, 0xff
jle 0x49ee16
push ebx
call sub.user32.dll_GetAsyncKeyState
movzx eax, ax
shr eax, 0xf
and eax, 1
cmp eax, 1
sete al
pop ebx
ret
cmp byte [ebx + 0x55fd2c], 0
jne 0x49ee56
push ebx
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
mov edx, eax
and edx, 1
cmp edx, 1
jne 0x49ee3b
mov byte [ebx + 0x55fd2c], 1
jmp 0x49ee56
shr eax, 0xf
and eax, 1
cmp eax, 1
jne 0x49ee4f
mov byte [ebx + 0x55fd2c], 1
jmp 0x49ee56
mov byte [ebx + 0x55fd2c], 2
cmp byte [ebx + 0x55fd2c], 1
sete al
pop ebx
ret
Function at 0x4a49bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a4a63
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004052d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4a4a4d
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040545c
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.004052d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a4a4d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a4a74
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a4a4d
cmp dword [ebp - 8], 0x34
jne 0x4a4a4d
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4a6a
lea eax, [ebp - 0x10]
call fcn.00404e10
ret

Function at 0x4a7058
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a7218
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403370
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x5588d0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5588d4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x5588d8], eax
mov eax, dword [0x55e3cc]
cmp dword [eax], 2
sete byte [0x55834c]
push 0x4a7224
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004a498c
cmp byte [0x55834c], 0
jne 0x4a70e4
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004a49bc
test al, al
je 0x4a70e4
mov eax, dword [ebp - 0x4c]
mov dword [0x5603d4], eax
jmp 0x4a70eb
xor eax, eax
mov dword [0x5603d4], eax
call fcn.004a4c8c
and eax, 0x7f
cmp eax, 0x10
ja case.0x4a70fc.0
jmp dword [eax*4 + 0x4a7103]
mov byte [0x558338], 1
jmp case.0x4a70fc.0
mov byte [0x55833c], 1
jmp case.0x4a70fc.0
mov byte [0x558340], 1
jmp case.0x4a70fc.0
mov byte [0x558344], 1
jmp case.0x4a70fc.0
mov byte [0x558348], 1
jmp case.0x4a70fc.0
mov byte [0x558350], 1
mov byte [0x558354], 1
jmp case.0x4a70fc.0
mov byte [0x558350], 1
mov byte [0x558358], 1
jmp case.0x4a70fc.0
mov byte [0x558350], 1
mov byte [0x558358], 1
mov byte [0x55835c], 1
jmp case.0x4a70fc.0
mov byte [0x558360], 1
jmp case.0x4a70fc.0
mov byte [0x558364], 1
jmp case.0x4a70fc.0
mov byte [0x558368], 1
jmp case.0x4a70fc.0
mov byte [0x55836c], 1
jmp case.0x4a70fc.0
mov byte [0x558370], 1
jmp case.0x4a70fc.0
mov byte [0x558374], 1
jmp case.0x4a70fc.0
mov byte [0x558378], 1
jmp case.0x4a70fc.0
mov byte [0x55837c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a721f
lea eax, [ebp - 4]
call fcn.00404e10
ret