joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45499c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x454ac1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004547ac
mov esi, eax
mov eax, dword [0x53d3c8]
cmp byte [eax], 0
je 0x454a69
mov eax, dword [0x53d3cc]
call fcn.00467834
call fcn.004674c0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x454974]
call fcn.0046b27c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x454adc
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x454aa5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x53d238]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x53d75c]
call fcn.0046b370
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454ac8
lea eax, [ebp - 4]
mov edx, dword [0x454974]
call fcn.0046b288
ret

Function at 0x455c88
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x455d5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0046999c
lea eax, [ebp - 4]
call fcn.0046a3ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004699d4
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x455d48
mov eax, ebx
call fcn.004672d0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x455d41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004699d4
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x455d2b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x455d70
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x455d2b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455d48
mov eax, dword [ebp - 0x10]
call fcn.004672ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455d65
lea eax, [ebp - 4]
call fcn.00469938
ret
Function at 0x457040
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00469480
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
mov edi, eax
cmp edi, 0x104
jbe 0x456fea
mov eax, edi
add eax, eax
call fcn.004672d0
mov esi, eax
jmp 0x456fec
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
push edi
push esi
call sub.USER32.DLL_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x457025
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x45700f
mov eax, esp
cmp esi, eax
je 0x457032
mov eax, esi
call fcn.004672ec
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x45706c
cmp bl, 0
je 0x457068
cmp bl, 0x41
jl 0x457063
cmp bl, 0x5a
jg 0x457063
or bl, 0x20
xor al, bl
inc esi
jmp 0x457047
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x456fac

Function at 0x4676cc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00469948
test esi, esi
jne 0x467704
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00469a84
jmp 0x467722
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00467610
mov edi, eax
test esi, esi
je 0x467722
cmp dword [ebx], 0
je 0x467722
dec esi
jmp 0x46770b
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x468ec4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x53fdf8], 0
je 0x468f25
cmp word [0x5400d4], 0xd7b2
jne 0x468eed
cmp dword [0x5400dc], 0
jbe 0x468eed
mov eax, 0x5400d0
call dword [0x5400ec]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x468f50
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x5334c4], 0
jne 0x468f41
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x4690b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x533494], 0
je 0x4690d6
mov edx, esi
mov eax, ebx
call dword [0x533494]
jmp 0x4690e5
mov eax, 8
call fcn.004672d0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x53fdf9], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x469078
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x46b880
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46b9e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00469948
cmp si, word [0x533c74]
jb 0x46b91a
cmp si, word [0x533e74]
ja 0x46b91a
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x46b91a
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x533c74]
jae 0x46b8f4
mov edi, ebx
dec edi
jmp 0x46b915
cmp si, word [ebx*8 + 0x533c74]
jbe 0x46b904
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x46b915
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x533c78]
call fcn.0046b790
jmp 0x46b91a
cmp edi, dword [ebp - 0xc]
jae 0x46b8de
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x46b9c9
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x46b9c9
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00469b48
push dword [ebp - 0x164]
push 0x46ba04
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00469b48
push dword [ebp - 0x168]
push 0x46ba14
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00469b48
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00469f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b9ee
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00469940
ret
Function at 0x46bba0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bca5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x54290c
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x542924]
jne 0x46bbec
mov eax, esi
mov edx, 0x542928
mov ecx, 0x55
call fcn.00469b48
push 0x54290c
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x46bc8f
push 0x54290c
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00469948
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x46bc5d
cmp byte [0x542908], 0
je 0x46bc22
mov edx, esi
mov eax, ebx
call fcn.0046ba80
jmp 0x46bc5d
mov edx, esi
mov eax, ebx
call fcn.0046b880
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x46bc5d
cmp dword [esi], 0
je 0x46bc46
mov eax, esi
mov edx, 0x46bcc0
call fcn.00469d5c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0046b880
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00469d5c
push 0x54290c
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x542924], bx
push 0xaa
mov eax, dword [esi]
call fcn.004699d4
push eax
push 0x542928
call sub.KERNEL32.DLL_lstrcpynW
push 0x54290c
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bcac
lea eax, [ebp - 4]
call fcn.00469938
ret
Function at 0x46bee4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00469930
xor eax, eax
push ebp
push 0x46c0c9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x46bf24
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x46bf3e
push 0x105
mov eax, dword [ebp - 4]
call fcn.004699d4
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x46c0b3
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x46c0d8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x46bfcd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x46c0d8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x46bfcd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x46c10c
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x46bfcd
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x46c140
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x46c0b3
xor eax, eax
push ebp
push 0x46c0ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0046bce8
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x46c03c
mov eax, dword [ebp - 0x10]
call fcn.004672d0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00469af4
jmp 0x46c087
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x46c180
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x46c087
mov eax, dword [ebp - 0x10]
call fcn.004672d0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x46c180
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00469af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c0b3
cmp dword [ebp - 8], 0
je 0x46c0a2
mov eax, dword [ebp - 8]
call fcn.004672ec
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c0d0
lea eax, [ebp - 4]
call fcn.00469938
ret
Function at 0x46c394
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.00469930
mov eax, dword [ebp - 0x21c]
call fcn.00469930
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x46c533
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00469948
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.004699d4
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.KERNEL32.DLL_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x46c434
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x46c446
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x46c431
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x46c4ff
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x46c46f
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.0046bee4
cmp dword [ebp - 0x220], 0
je 0x46c4a7
push ebp
mov eax, dword [ebp - 0x220]
call fcn.0046c288
pop ecx
mov ebx, eax
jmp 0x46c4ff
push ebp
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.0046bba0
mov eax, dword [ebp - 0x224]
call fcn.0046c288
pop ecx
mov ebx, eax
test bl, bl
jne 0x46c4f2
cmp byte [0x542908], 0
jne 0x46c4f2
push ebp
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.0046bba0
mov eax, dword [ebp - 0x228]
call fcn.0046c288
pop ecx
mov ebx, eax
test bl, bl
jne 0x46c4ff
push ebp
call fcn.0046c338
pop ecx
mov ebx, eax
test bl, bl
je 0x46c515
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00469b48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c53a
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00469940
ret

Function at 0x46ccbc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x46cda8
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x540690], 1
jae 0x46ce51
call fcn.0046426c
call fcn.004670ac
call fcn.0046b5d4
mov byte [0x5334b4], 2
mov dword [0x53fdb4], 0x5267dc
mov dword [0x53fdb8], 0x5267f4
mov byte [0x53fdfa], 2
call fcn.0046ccbc
mov dword [0x53fdfc], eax
mov dword [0x53fda0], 0x46ac00
call fcn.00467e14
mov word [0x53fe04], 0xd7b0
mov word [0x5400d4], 0xd7b0
mov word [0x5403a4], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x53fdec], eax
call fcn.004656a4
mov dword [0x53fde8], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x540678], eax
mov dword [0x54067c], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x53fde0], eax
call fcn.0046ccd0
ret
Function at 0x485f30
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.00469948
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x485f77
push 0x100
lea edx, [esp + 4]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.00469b48
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x48b774
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 0x48b8ad
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 [0x441f88]
call fcn.0044318c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48b883
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysReAllocStringLen
mov eax, dword [ebp - 0xc]
call fcn.00443274
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00469b48
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x48b8c8
call fcn.00469e1c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004434f0
test al, al
je 0x48b86d
lea ecx, [ebp - 4]
mov edx, 0x48b93c
mov eax, dword [ebp - 0xc]
call fcn.00443dec
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00457830
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x48b866
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x48b954
mov eax, dword [ebp - 8]
push eax
call fcn.00422870
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x5345b8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b86d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b88a
mov eax, dword [ebp - 0xc]
call fcn.00467f60
ret

Function at 0x48b9b8
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 0x48b9ff
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x48b9e2
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x48b9f3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x48b9ff
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x493080
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x493086
ret
Function at 0x49e65c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49e819
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x49e7f5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x49e7f5
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x49e628]
call fcn.0046b27c
add esp, 4
lea eax, [ebp - 4]
call fcn.0046c6e8
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x53d4c4]
push eax
call fcn.005270fc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0046b0b4
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.00467924
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x4919c0]
call fcn.0049afe8
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x49e7d3
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0049cc64
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.0049b908
call fcn.00496070
push eax
call sub.GDI32.DLL_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0049bc74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e7f5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e820
lea eax, [ebp - 8]
mov edx, dword [0x49e628]
call fcn.0046b288
lea eax, [ebp - 4]
call fcn.0046c6e8
ret
Function at 0x4a6ef0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4a6f11
test edi, 0x40000
je 0x4a6f2b
test bl, bl
jne 0x4a6fac
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4a6fac
push esi
call sub.USER32.DLL_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.USER32.DLL_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4a6f5e
push 0
push esi
call sub.USER32.DLL_ShowWindow
test bl, bl
je 0x4a6f73
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
jmp 0x4a6f82
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4a6f93
cmp byte [esp + 2], 0
je 0x4a6fac
cmp byte [esp + 2], 0
je 0x4a6fa4
push 6
push esi
call sub.USER32.DLL_ShowWindow
jmp 0x4a6fac
push 5
push esi
call sub.USER32.DLL_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4a7258
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.USER32.DLL_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4a727e
mov eax, esp
push eax
push 0x4a7220
call sub.USER32.DLL_EnumWindows
jmp 0x4a7291
mov eax, esp
push eax
push 0x4a7200
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.USER32.DLL_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4a7354
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4a73a4]
test bl, 4
je 0x4a7368
or si, 1
test bl, 8
je 0x4a7371
or si, 4
test bl, 1
je 0x4a737a
or si, 8
test bl, 2
je 0x4a7383
or si, 0x10
test bl, 0x10
je 0x4a738c
or si, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4a739c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4a73a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4a73e4]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4a73c3
or bx, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4a73d3
or bx, 4
test esi, 0x20000000
je 0x4a73df
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret