joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42de3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42dee5
test eax, edx
je 0x42dee8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x42de65
push edx
mov edx, eax
mov eax, esp
call fcn.004480a4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x42de7b
push eax
lea eax, [esp + 8]
call fcn.004480a4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42de8a
movzx eax, word [eax]
sub eax, ecx
jmp 0x42deb1
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x42decb
add ecx, 4
js 0x42dea2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x42dec8
push eax
mov eax, ecx
mov edx, 2
call fcn.00447694
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x42deaf
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42deb1
xor eax, eax
ret
test eax, eax
je 0x42def8
test edx, edx
jne 0x42de4c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4328dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x432915
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00447fdc
jmp 0x43291e
mov eax, ebx
mov edx, esi
call fcn.00447ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x432928
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x43294a
movzx eax, word [esp]
jmp 0x43294c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4330dc
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 0x433201
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00432eec
mov esi, eax
mov eax, dword [0x4e5fbc]
cmp byte [eax], 0
je 0x4331a9
mov eax, dword [0x4e5fc0]
call fcn.00445d50
call fcn.00445a10
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 [0x4330b4]
call fcn.0044971c
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 0x43321c
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4331e5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e5e30]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e62ec]
call fcn.00449810
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 0x433208
lea eax, [ebp - 4]
mov edx, dword [0x4330b4]
call fcn.00449728
ret

Function at 0x4343c8
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 0x43449e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00447ef4
lea eax, [ebp - 4]
call fcn.0044888c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00447f2c
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x434488
mov eax, ebx
call fcn.00445820
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x434481
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.00447f2c
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x43446b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4344b0
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x43446b
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 0x434488
mov eax, dword [ebp - 0x10]
call fcn.0044583c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4344a5
lea eax, [ebp - 4]
call fcn.00447e90
ret
Function at 0x4355a0
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.004479a4
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 0x43554a
mov eax, edi
add eax, eax
call fcn.00445820
mov esi, eax
jmp 0x43554c
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 0x435585
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 0x43556f
mov eax, esp
cmp esi, eax
je 0x435592
mov eax, esi
call fcn.0044583c
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 0x4355cc
cmp bl, 0
je 0x4355c8
cmp bl, 0x41
jl 0x4355c3
cmp bl, 0x5a
jg 0x4355c3
or bl, 0x20
xor al, bl
inc esi
jmp 0x4355a7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x43550c

Function at 0x445c1c
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.00447ea0
test esi, esi
jne 0x445c54
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.00447fdc
jmp 0x445c72
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00445b60
mov edi, eax
test esi, esi
je 0x445c72
cmp dword [ebx], 0
je 0x445c72
dec esi
jmp 0x445c5b
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x447408
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e8994], 0
je 0x447469
cmp word [0x4e8c70], 0xd7b2
jne 0x447431
cmp dword [0x4e8c78], 0
jbe 0x447431
mov eax, 0x4e8c6c
call dword [0x4e8c88]
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 0x447494
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4de100], 0
jne 0x447485
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x4475f4
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 [0x4de0d0], 0
je 0x44761a
mov edx, esi
mov eax, ebx
call dword [0x4de0d0]
jmp 0x447629
mov eax, 8
call fcn.00445820
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4e8995], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4475bc
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 0x449cf4
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 0x449e5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00447ea0
cmp si, word [0x4de8a4]
jb 0x449d8e
cmp si, word [0x4deaa4]
ja 0x449d8e
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x449d8e
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4de8a4]
jae 0x449d68
mov edi, ebx
dec edi
jmp 0x449d89
cmp si, word [ebx*8 + 0x4de8a4]
jbe 0x449d78
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x449d89
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4de8a8]
call fcn.00449c04
jmp 0x449d8e
cmp edi, dword [ebp - 0xc]
jae 0x449d52
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x449e3d
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x449e3d
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.00448088
push dword [ebp - 0x164]
push 0x449e78
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00448088
push dword [ebp - 0x168]
push 0x449e88
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00448088
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00448440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449e62
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00447e98
ret
Function at 0x449e8c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 6], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x44a072
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4eb4a8
call sub.KERNEL32.DLL_EnterCriticalSection
movzx eax, word [0x4eb4c0]
cmp ax, word [ebp - 2]
jne 0x449ee4
mov eax, dword [ebp - 6]
mov edx, 0x4eb4c4
mov ecx, 0x55
call fcn.00448088
push 0x4eb4a8
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x44a05c
push 0x4eb4a8
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, dword [ebp - 6]
xor edx, edx
call fcn.00447ea0
push 2
movzx eax, word [ebp - 2]
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x44a024
cmp byte [0x4eb4a4], 0
je 0x449fda
call dword [0x4eb49c]
mov word [ebp - 0x16], ax
movzx eax, word [ebp - 2]
push eax
call dword [0x4eb4a0]
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor ecx, ecx
push ebp
push 0x449fd3
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0x38
call dword [0x4eb498]
test al, al
je 0x449fac
mov eax, dword [ebp - 0xc]
add eax, eax
call fcn.00445820
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x38
call dword [0x4eb498]
mov edx, dword [ebp - 0xc]
sub edx, 2
test edx, edx
jb 0x449fa1
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
jne 0x449f9d
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2], 0x2c
inc eax
dec edx
jne 0x449f8a
mov eax, dword [ebp - 6]
mov edx, dword [ebp - 0x10]
call fcn.0044804c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a024
movzx eax, word [ebp - 0x16]
push eax
call dword [0x4eb4a0]
cmp dword [ebp - 0x10], 0
je 0x449fd2
mov eax, dword [ebp - 0x10]
call fcn.0044583c
ret
mov edx, dword [ebp - 6]
movzx eax, word [ebp - 2]
call fcn.00449cf4
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp ax, word [ebp - 2]
je 0x44a024
mov eax, dword [ebp - 6]
cmp dword [eax], 0
je 0x44a009
mov eax, dword [ebp - 6]
mov edx, 0x44a08c
call fcn.0044829c
mov eax, dword [ebp - 6]
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 0x1c]
call fcn.00449cf4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 6]
call fcn.0044829c
mov eax, dword [ebp - 6]
push 0x4eb4a8
call sub.KERNEL32.DLL_EnterCriticalSection
movzx eax, word [ebp - 2]
mov word [0x4eb4c0], ax
push 0xaa
mov eax, dword [ebp - 6]
mov eax, dword [eax]
call fcn.00447f2c
push eax
push 0x4eb4c4
call sub.KERNEL32.DLL_lstrcpynW
push 0x4eb4a8
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a079
lea eax, [ebp - 0x1c]
call fcn.00447e90
ret
Function at 0x44a2b0
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.00447e88
xor eax, eax
push ebp
push 0x44a495
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x44a2f0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x44a30a
push 0x105
mov eax, dword [ebp - 4]
call fcn.00447f2c
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x44a47f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x44a4a4
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x44a399
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x44a4a4
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x44a399
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x44a4d8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x44a399
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x44a50c
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x44a47f
xor eax, eax
push ebp
push 0x44a478
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0044a0b4
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 0x44a408
mov eax, dword [ebp - 0x10]
call fcn.00445820
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.0044804c
jmp 0x44a453
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x44a54c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x44a453
mov eax, dword [ebp - 0x10]
call fcn.00445820
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x44a54c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0044804c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a47f
cmp dword [ebp - 8], 0
je 0x44a46e
mov eax, dword [ebp - 8]
call fcn.0044583c
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 0x44a49c
lea eax, [ebp - 4]
call fcn.00447e90
ret
Function at 0x44a760
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.00447e88
mov eax, dword [ebp - 0x21c]
call fcn.00447e88
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x44a8ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00447ea0
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00447f2c
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 0x44a800
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x44a812
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x44a7fd
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x44a8cb
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 0x44a83b
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.0044a2b0
cmp dword [ebp - 0x220], 0
je 0x44a873
push ebp
mov eax, dword [ebp - 0x220]
call fcn.0044a654
pop ecx
mov ebx, eax
jmp 0x44a8cb
push ebp
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00449e8c
mov eax, dword [ebp - 0x224]
call fcn.0044a654
pop ecx
mov ebx, eax
test bl, bl
jne 0x44a8be
cmp byte [0x4eb4a4], 0
jne 0x44a8be
push ebp
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00449e8c
mov eax, dword [ebp - 0x228]
call fcn.0044a654
pop ecx
mov ebx, eax
test bl, bl
jne 0x44a8cb
push ebp
call fcn.0044a704
pop ecx
mov ebx, eax
test bl, bl
je 0x44a8e1
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00448088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a906
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00447e98
ret

Function at 0x44b088
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 0x44b174
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4e922c], 1
jae 0x44b21d
call fcn.004427bc
call fcn.004455fc
call fcn.00449a74
mov byte [0x4de0f0], 2
mov dword [0x4e8950], 0x4dbc32
mov dword [0x4e8954], 0x4dbc4a
mov byte [0x4e8996], 2
call fcn.0044b088
mov dword [0x4e8998], eax
mov dword [0x4e893c], 0x4490a0
call fcn.00446330
mov word [0x4e89a0], 0xd7b0
mov word [0x4e8c70], 0xd7b0
mov word [0x4e8f40], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x4e8988], eax
call fcn.00443bf4
mov dword [0x4e8984], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x4e9214], eax
mov dword [0x4e9218], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4e897c], eax
call fcn.0044b09c
ret
Function at 0x4640a8
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.00447ea0
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4640ef
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.00448088
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x4698ec
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 0x469a25
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 [0x423500]
call fcn.00424704
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4699fb
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysStringLen
mov eax, dword [ebp - 0xc]
call fcn.004247ec
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00448088
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x469a40
call fcn.0044835c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00424a68
test al, al
je 0x4699e5
lea ecx, [ebp - 4]
mov edx, 0x469ab4
mov eax, dword [ebp - 0xc]
call fcn.00425364
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00435d90
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4699de
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x469acc
mov eax, dword [ebp - 8]
push eax
call fcn.0040403c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4df204]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699e5
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 0x469a02
mov eax, dword [ebp - 0xc]
call fcn.0044647c
ret

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

Function at 0x4711f8
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 0x4711fe
ret
Function at 0x47c76c
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 0x47c929
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x47c905
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x47c905
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 [0x47c738]
call fcn.0044971c
add esp, 4
lea eax, [ebp - 4]
call fcn.0044aab4
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x4e6050]
push eax
call fcn.004dc50c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00449554
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.00445e40
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 [0x46fb38]
call fcn.00479160
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x47c8e3
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0047ad74
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.00479a80
call fcn.004741e8
push eax
call sub.GDI32.DLL_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00479d84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47c905
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c930
lea eax, [ebp - 8]
mov edx, dword [0x47c738]
call fcn.00449728
lea eax, [ebp - 4]
call fcn.0044aab4
ret