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

Disassembly:
cmp eax, edx
je 0x44301d
test eax, edx
je 0x443020
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x442fdb
movzx eax, word [eax]
sub eax, ecx
jmp 0x443002
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 0x443003
add ecx, 4
js 0x442ff3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x443000
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x443002
xor eax, eax
ret
test eax, eax
je 0x44302c
test edx, edx
jne 0x442fcc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4471b8
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 0x4471f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0045e92c
jmp 0x4471fa
mov eax, ebx
mov edx, esi
call fcn.0045eb84
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x447204
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 0x447226
movzx eax, word [esp]
jmp 0x447228
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x447ee4
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 0x448009
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00447cf4
mov esi, eax
mov eax, dword [0x4f33c4]
cmp byte [eax], 0
je 0x447fb1
mov eax, dword [0x4f33cc]
call fcn.0045c7dc
call fcn.0045c45c
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 [0x447ebc]
call fcn.0046038c
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 0x448024
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x447fed
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4f3230]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f3688]
call fcn.00460480
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 0x448010
lea eax, [ebp - 4]
mov edx, dword [0x447ebc]
call fcn.00460398
ret

Function at 0x449064
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 0x44913a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0045ebcc
lea eax, [ebp - 4]
call fcn.0045ed34
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0045f1d4
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x449124
mov eax, ebx
call fcn.0045c258
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44911d
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.0045f1d4
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x449107
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x44914c
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x449107
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 0x449124
mov eax, dword [ebp - 0x10]
call fcn.0045c274
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449141
lea eax, [ebp - 4]
call fcn.0045e7c4
ret
Function at 0x449964
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.0045ec74
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00461e7c
mov edi, eax
cmp edi, 0x104
jbe 0x44990f
mov eax, edi
add eax, eax
call fcn.0045c258
mov esi, eax
jmp 0x449911
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00461e7c
push esi
call sub.USER32.DLL_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x44994a
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 0x449934
mov eax, esp
cmp esi, eax
je 0x449957
mov eax, esi
call fcn.0045c274
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 0x449990
cmp bl, 0
je 0x44998c
cmp bl, 0x41
jl 0x449987
cmp bl, 0x5a
jg 0x449987
or bl, 0x20
xor al, bl
inc esi
jmp 0x44996b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4498d0

Function at 0x44a128
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0045f260
add esp, 0x800
pop ebx
ret

Function at 0x45c668
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0045e7c4
test esi, esi
jne 0x45c69e
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.0045e92c
jmp 0x45c6bc
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0045c5ac
mov edi, eax
test esi, esi
je 0x45c6bc
cmp dword [ebx], 0
je 0x45c6bc
dec esi
jmp 0x45c6a5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x45d644
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0045da30
mov byte [esp], al
cmp byte [esp], 0
jne 0x45d7cd
test edi, edi
je 0x45d7cd
mov byte [esp + 1], 0
test ebp, ebp
jle 0x45d704
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x45d6df
cmp edi, 0xffffffff
je 0x45d6a3
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x45d6a3
mov byte [esp], 0
jmp 0x45d7cd
mov ebx, dword [esi]
cmp ebx, 1
jg 0x45d6df
test ebx, ebx
jne 0x45d6d8
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0045a618
test eax, eax
jne 0x45d6d8
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x45d7cd
pause
dec ebp
test ebp, ebp
jg 0x45d688
cmp edi, 0xffffffff
je 0x45d704
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x45d702
mov byte [esp], 0
jmp 0x45d7cd
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x45d652
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.0045a618
cmp ebx, eax
jne 0x45d704
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0045d840
mov edx, eax
mov ebx, dword [0x4f65ec]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x45d76b
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x45d769
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x45d76b
xor edi, edi
cmp byte [esp], 0
je 0x45d794
mov ebx, dword [esi]
test bl, 1
jne 0x45d7ad
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.0045a618
cmp ebx, eax
jne 0x45d771
mov byte [esp + 1], 1
jmp 0x45d7ad
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.0045a618
cmp ebx, eax
jne 0x45d794
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x45d71e
cmp byte [esp], 0
je 0x45d7cd
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45e474
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f5d74], 0
je 0x45e4d5
cmp word [0x4f6050], 0xd7b2
jne 0x45e49d
cmp dword [0x4f6058], 0
jbe 0x45e49d
mov eax, 0x4f604c
call dword [0x4f6068]
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 0x45e500
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4ec254], 0
jne 0x45e4f1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x45e680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4ec224], 0
je 0x45e6ab
mov edx, edi
mov eax, esi
call dword [0x4ec224]
mov ebx, eax
jmp 0x45e6bc
mov eax, 8
call fcn.0045c258
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4f5d75], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x45e648
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x45e6f1
mov edx, 8
mov eax, ebx
call fcn.0045c274
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x46093c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x460aa1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045e7c4
cmp si, word [0x4eca14]
jb 0x4609d4
cmp si, word [0x4ecc14]
ja 0x4609d4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4609d4
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4eca14]
jae 0x4609ae
mov edi, ebx
dec edi
jmp 0x4609cf
cmp si, word [ebx*8 + 0x4eca14]
jbe 0x4609be
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4609cf
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4eca18]
call fcn.0046084c
jmp 0x4609d4
cmp edi, dword [ebp - 8]
jae 0x460998
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x460a83
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x460a83
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0045f260
push dword [ebp - 0x160]
push 0x460abc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0045f260
push dword [ebp - 0x164]
push 0x460acc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0045f260
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0045f498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460aa8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0045e824
ret
Function at 0x460c54
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 0x460d57
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f887d
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x4f8896]
jne 0x460ca0
mov eax, esi
mov edx, 0x4f8898
mov ecx, 0x55
call fcn.0045f260
push 0x4f887d
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x460d41
push 0x4f887d
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.0045e7c4
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x460d0f
cmp byte [0x4f887c], 0
je 0x460cd4
mov edx, esi
mov eax, ebx
call fcn.00460b38
jmp 0x460d0f
mov edx, esi
mov eax, ebx
call fcn.0046093c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x460d0f
cmp dword [esi], 0
je 0x460cf8
mov eax, esi
mov edx, 0x460d70
call fcn.0045f3b8
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0046093c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0045f3b8
push 0x4f887d
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x4f8896], bx
push 0xaa
mov eax, dword [esi]
call fcn.0045f1d4
push eax
push 0x4f8898
call sub.KERNEL32.DLL_lstrcpynW
push 0x4f887d
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460d5e
lea eax, [ebp - 4]
call fcn.0045e7c4
ret
Function at 0x460f8c
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.0045e8a8
xor eax, eax
push ebp
push 0x4611b1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x460fcc
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x460fe6
push 0x105
mov eax, dword [ebp - 4]
call fcn.0045f1d4
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x46119b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4611c0
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4610b5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4611c0
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4610b5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4611fc
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4610b5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4611fc
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4610b5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x461230
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4610b5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x461264
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x46119b
xor eax, eax
push ebp
push 0x461194
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00460d98
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 0x461124
mov eax, dword [ebp - 0x10]
call fcn.0045c258
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.0045f224
jmp 0x46116f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4612a4
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x46116f
mov eax, dword [ebp - 0x10]
call fcn.0045c258
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4612a4
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0045f224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46119b
cmp dword [ebp - 8], 0
je 0x46118a
mov eax, dword [ebp - 8]
call fcn.0045c274
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 0x4611b8
lea eax, [ebp - 4]
call fcn.0045e7c4
ret
Function at 0x4614f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045e8a8
xor eax, eax
push ebp
push 0x4615b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0045f260
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0045f410
mov eax, dword [ebx]
call fcn.004613b8
test al, al
jne 0x46158d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0045f260
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0045f410
mov eax, dword [ebx]
call fcn.004613b8
test al, al
jne 0x46158d
mov eax, ebx
call fcn.0045e7c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4615b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0045e824
lea eax, [ebp - 4]
call fcn.0045e7c4
ret

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

Disassembly:
sub dword [0x4f6608], 1
jae 0x462025
call fcn.0045903c
call fcn.0045c034
call fcn.004606e4
mov byte [0x4ec244], 2
mov dword [0x4f5d30], 0x4e8712
mov dword [0x4f5d34], 0x4e8730
mov byte [0x4f5d76], 2
call fcn.00461e9c
mov dword [0x4f5d78], eax
mov dword [0x4f5d1c], 0x45fe10
call fcn.0045cd30
mov word [0x4f5d80], 0xd7b0
mov word [0x4f6050], 0xd7b0
mov word [0x4f6320], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x4f5d68], eax
call fcn.0045a628
mov dword [0x4f5d64], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x4f65f0], eax
mov dword [0x4f65f4], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4f5d5c], eax
call fcn.00461eb0
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0045e7c4
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x474415
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.0045f260
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x4799c4
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 0x479afd
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 [0x424420]
call fcn.0042555c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x479ad3
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysReAllocStringLen
mov eax, dword [ebp - 0xc]
call fcn.00425644
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0045f260
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x479b18
call fcn.0045f410
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004258c0
test al, al
je 0x479abd
lea ecx, [ebp - 4]
mov edx, 0x479b8c
mov eax, dword [ebp - 0xc]
call fcn.00426108
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0044a41c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x479ab6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x479ba4
mov eax, dword [ebp - 8]
push eax
call fcn.00458074
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4ed264]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479abd
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 0x479ada
mov eax, dword [ebp - 0xc]
call fcn.0045ce5c
ret

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

Function at 0x48151c
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 0x481522
ret
Function at 0x48cb3c
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 0x48ccf9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x48ccd5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x48ccd5
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 [0x48cb08]
call fcn.0046038c
add esp, 4
lea eax, [ebp - 4]
call fcn.00461944
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x4f3638]
push eax
call fcn.004e9004
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.004601c4
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.0045c840
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 [0x47fe5c]
call fcn.00489530
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x48ccb3
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0048b144
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.00489e50
call fcn.0048451c
push eax
call sub.GDI32.DLL_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0048a154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48ccd5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cd00
lea eax, [ebp - 8]
mov edx, dword [0x48cb08]
call fcn.00460398
lea eax, [ebp - 4]
call fcn.00461944
ret