joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462df8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x462e0a
add esp, 0xfffffff0
call fcn.0040533c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00438c1c
mov eax, dword [0x4a8ee0]
mov dword [eax + 4], ebx
mov dword [eax], 0x463254
mov eax, dword [0x4a8eec]
mov dword [eax + 4], ebx
mov dword [eax], 0x463260
mov eax, ebx
call fcn.0046326c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x45e0ac
push eax
push 0
push 0
mov eax, dword [0x4a906c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x43d220]
call fcn.00442114
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x43d220]
call fcn.00442114
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x43d220]
call fcn.00442114
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x43d220]
call fcn.00442114
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x43d220]
call fcn.00442114
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004637c4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463634
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463634
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463634
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463634
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463634
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462f85
call fcn.00405394
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4633d4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463581
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x463562
mov dl, 1
mov eax, dword [0x425e48]
call fcn.0043192c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406b3c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463551
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.0048e99c
test al, al
je 0x463544
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x463590
lea eax, [ebp - 0x394]
call fcn.00411a18
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x463544
xor eax, eax
push ebp
push 0x46353d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x463600
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x463526
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406d24
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x463526
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463544
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463447
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00431868
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463588
lea eax, [ebp - 0x3a0]
call fcn.00406b2c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4af210]
cmp byte [eax + 0xad], 0
jne 0x464152
cmp dword [0x4af228], 0
jne 0x464112
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4a8968]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4af228], eax
cmp dword [0x4af224], 0
jne 0x46412d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4af224], eax
cmp dword [0x4af22c], 0
jne 0x464152
push esp
push 0
push 0
mov eax, dword [0x4a8964]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4af22c], eax
pop edx
ret
Function at 0x464420
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x464437
add esp, 0xfffffff0
call fcn.0040533c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00438c1c
mov eax, dword [0x4a8e2c]
cmp byte [eax], 0
jne 0x464464
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4a904c]
cmp word [eax + 2], 0
jne 0x46447e
mov eax, dword [0x4a904c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466244
mov eax, dword [0x4a9118]
cmp word [eax + 2], 0
jne 0x464498
mov eax, dword [0x4a9118]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466454
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x43d220]
call fcn.00442114
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x466908
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4407d0]
call fcn.00448d4c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x464678
mov eax, dword [0x4a8f50]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0044914c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466bc8
mov dl, 1
mov eax, dword [0x423898]
call fcn.00404df8
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4a8f50]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411850
test eax, eax
je 0x4645a9
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411634
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411834
test eax, eax
je 0x4645c1
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406d24
push ebx
push 0x465eb4
call fcn.0045a6d4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4a8e2c]
cmp byte [eax], 0
jne 0x464612
mov eax, ebx
call fcn.004647ec
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00466df4
mov eax, ebx
call fcn.00467a28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46466f
call fcn.00405394
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464ac0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x464b62
cmp dword [ebx + 0x94], 0
jne 0x464b5c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464a0c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464b5c
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_GetWindowLongW
test al, 8
je 0x464b22
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464b5c
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.0042e6d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464b31
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464d80
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4af210]
cmp dword [eax + 0x170], 0
je 0x464ee5
test bl, bl
jne 0x464e33
cmp dword [esi + 0x9c], 0
jne 0x464e28
mov eax, esi
call fcn.00467878
push eax
push 0x464c8c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x464df9
mov eax, dword [0x4af210]
cmp byte [eax + 0xd3], 0
je 0x464df9
mov eax, dword [esi + 0xd8]
call fcn.004080c0
mov edi, eax
cmp edi, 0
jl 0x464df9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x464de2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x464e28
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042e6d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x464e08
inc dword [esi + 0x9c]
jmp 0x464ee5
cmp dword [esi + 0x9c], 0
jle 0x464ee5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x464ee5
cmp dword [esi + 0x44], 0
je 0x464e90
mov eax, dword [0x4af210]
cmp byte [eax + 0xd3], 0
je 0x464e90
mov eax, dword [esi + 0xd8]
call fcn.004080c0
mov edi, eax
cmp edi, 0
jl 0x464e90
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x464e79
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x464ebf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042e6d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x464e9f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4585ac]
call fcn.00408280
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x465b00
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x465b6b
cmp byte [ebx + 0xd3], 0
jne 0x465b6b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406c78
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x465b58
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x465b78
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406b3c
jmp 0x465b78
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406b3c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x466fdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46704a
mov eax, esi
call fcn.00488b60
test al, al
je 0x46704a
mov eax, dword [ebx + 0x84]
call fcn.004887e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46704a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x46703e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004887e0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047fce0
jmp 0x46704a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00466e14
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406b3c
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x46a773
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406d24
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x46fbf8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46fd31
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x43b010]
call fcn.0043c0c4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46fd07
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0043c170
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00406d24
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x46fd4c
call fcn.00406ff8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0043c308
test al, al
je 0x46fcf1
lea ecx, [ebp - 4]
mov edx, 0x46fdc0
mov eax, dword [ebp - 0xc]
call fcn.0043c7a4
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00417824
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x46fcea
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x46fdd8
mov eax, dword [ebp - 8]
push eax
call fcn.0040b110
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4a8ad8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fcf1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fd0e
mov eax, dword [ebp - 0xc]
call fcn.00404e28
ret

Function at 0x46fe3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x46fe83
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46fe66
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46fe77
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x46fe83
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x47d338
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4af294], 0
je 0x47d479
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a90f8]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x47d479
mov eax, dword [0x4af298]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4af294]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x47d448
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4af294]
call fcn.0042e6d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47d440
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x47d440
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x47d440
mov eax, dword [ebp - 0x14]
call fcn.004887e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47d440
push ebp
call fcn.0047d2f4
pop ecx
test al, al
jne 0x47d440
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004050ac
test al, al
je 0x47d440
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004050ac
cmp byte [ebp - 1], 0
je 0x47d440
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040a6a0
test al, al
je 0x47d440
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4af298]
call fcn.0047ca50
inc edi
dec ebx
jne 0x47d39d
mov eax, dword [0x4af298]
cmp dword [eax + 8], 0
jle 0x47d460
mov eax, dword [0x4af298]
call fcn.0047cb08
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47d479
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0047d158
pop ecx
test al, al
jne 0x47d479
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48549c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040a688
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0047f900
test ebx, ebx
jne 0x4854ef
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00485318
mov ebx, eax
test ebx, ebx
je 0x4855e5
cmp esi, ebx
je 0x485518
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x48552d
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x485565
add eax, 0xffffff5f
sub eax, 2
jb 0x48557d
dec eax
sub eax, 2
jb 0x485591
dec eax
sub eax, 2
jb 0x485587
jmp 0x48559b
add eax, 0xfffffdff
sub eax, 2
jb 0x48557d
dec eax
sub eax, 2
jb 0x485591
dec eax
sub eax, 2
jb 0x485587
jmp 0x48559b
mov byte [esp + 0x120], 0
jmp 0x4855a3
mov byte [esp + 0x120], 2
jmp 0x4855a3
mov byte [esp + 0x120], 1
jmp 0x4855a3
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0045a784
mov esi, eax
call fcn.0047c204
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004810f0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4855e7
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x49ab3c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffedc
mov ebx, eax
push 0x90
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00411938
add esp, 0x124
pop ebx
ret

Function at 0x49abbc
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffd8
mov ebx, eax
mov eax, dword [0x4a9288]
cmp dword [eax], 2
jne 0x49ac36
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x49ac36
lea eax, [esp + 0xc]
push eax
push 0x49ac4c
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
cmp eax, 1
sbb eax, eax
inc eax
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
mov edx, 0x10
xor ecx, ecx
mov dword [esp + 4], ecx
test al, al
je 0x49ac36
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x28
pop ebx
ret
Function at 0x49b010
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, edx
push esp
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
je 0x49b046
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00406d24
jmp 0x49b04f
mov eax, ebx
xor edx, edx
call fcn.00406b3c
add esp, 0x20c
pop ebx
ret

Function at 0x49b058
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b24
mov eax, dword [ebp - 8]
call fcn.00406b24
xor eax, eax
push ebp
push 0x49b0e6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49b0bf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00406bc8
push eax
mov eax, dword [ebp - 4]
call fcn.00406bc8
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b0cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b0ed
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b34
ret