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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4444a4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444485
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444494
or bl, 4
test esi, 0x20000000
je 0x44449f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ab4c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44ab5e
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f48
mov eax, dword [0x451e10]
mov dword [eax + 4], ebx
mov dword [eax], 0x44aef0
mov eax, dword [0x451e1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44aefc
mov eax, ebx
call fcn.0044af08
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411240]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411240]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411240]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411240]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411240]
call fcn.004030a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x447324
push eax
push 0
push 0
mov eax, dword [0x451f5c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a96c]
call fcn.0041bdb0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a96c]
call fcn.0041bdb0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a96c]
call fcn.0041bdb0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044b328
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b204
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b204
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b204
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ac9b
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44afe8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b193
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44b174
mov dl, 1
mov eax, dword [0x41165c]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44b163
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.00438f90
test al, al
je 0x44b156
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44b1a4
lea eax, [ebp - 0x254]
call fcn.004087a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44b156
xor eax, eax
push ebp
push 0x44b14f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44b1dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44b138
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44b138
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b156
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44b059
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415138
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b19a
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x453bb0]
cmp byte [eax + 0xa5], 0
jne 0x44bb39
cmp dword [0x453bc8], 0
jne 0x44bafa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ba84
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x453bc8], eax
cmp dword [0x453bc4], 0
jne 0x44bb15
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x453bc4], eax
cmp dword [0x453bcc], 0
jne 0x44bb39
push esp
push 0
push 0
push 0x44ba28
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x453bcc], eax
pop edx
ret
Function at 0x44bc30
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44bc47
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f48
mov eax, dword [0x451f48]
cmp word [eax + 2], 0
jne 0x44bc6f
mov eax, dword [0x451f48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d320
mov eax, dword [0x451ff0]
cmp word [eax + 2], 0
jne 0x44bc89
mov eax, dword [0x451ff0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d518
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411240]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411240]
call fcn.004030a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b11c]
call fcn.00420e7c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44be10
mov eax, dword [0x451e70]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042124c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44dab8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x451e70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bde4
test eax, eax
je 0x44bd7e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040819c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be0c
test eax, eax
je 0x44bd92
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov eax, dword [0x451d74]
cmp byte [eax], 0
jne 0x44bdc6
mov eax, ebx
call fcn.0044bf38
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044dc94
mov eax, ebx
call fcn.0044e658
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44be06
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c1b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453bb0]
cmp dword [eax + 0x30], 0
je 0x44c262
cmp dword [ebx + 0x94], 0
jne 0x44c25c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c148
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c25c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44c222
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c25c
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.004135a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c231
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44cdc4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44cdf9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f00
jmp 0x44ce06
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44de70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44deb1
mov eax, esi
call fcn.00434650
test al, al
je 0x44deb1
mov eax, dword [ebx + 0x84]
call fcn.0043434c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44deb1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043434c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44f254
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x44f28c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x44f26a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x44f279
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x44f288
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x450608
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x451fd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45062e
push 0
mov eax, dword [0x451fd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406a1c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45805c], 0
je 0x406a83
cmp word [0x458348], 0xd7b2
jne 0x406a45
cmp dword [0x458350], 0
jbe 0x406a45
mov eax, 0x458344
call dword [0x458360]
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
mov eax, 0x406ab0
call fcn.00407550
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45502e], 0
jne 0x406a9f
push 0
push 0x4559ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x408f94
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 0x4090f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406cf0
cmp si, word [0x4559f8]
jb 0x40902c
cmp si, word [0x455bf8]
ja 0x40902c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40902c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4559f8]
jae 0x409006
mov edi, ebx
dec edi
jmp 0x409027
cmp si, word [ebx*8 + 0x4559f8]
jbe 0x409016
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409027
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4559fc]
call fcn.00408eb4
jmp 0x40902c
cmp edi, dword [ebp - 8]
jae 0x408ff0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4090db
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4090db
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.004078f4
push dword [ebp - 0x160]
push 0x409114
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004078f4
push dword [ebp - 0x164]
push 0x409124
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004078f4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409100
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406d50
ret
Function at 0x4092ac
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 0x4093b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45ab8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x45aba4]
jne 0x4092f8
mov eax, esi
mov edx, 0x45aba6
mov ecx, 0x55
call fcn.004078f4
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40939a
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406cf0
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409367
cmp byte [0x45ab88], 0
je 0x40932c
mov edx, esi
mov eax, ebx
call fcn.00409190
jmp 0x409367
mov edx, esi
mov eax, ebx
call fcn.00408f94
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409367
cmp dword [esi], 0
je 0x409350
mov eax, esi
mov edx, 0x4093c8
call fcn.00407a4c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408f94
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407a4c
push 0x45ab8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x45aba4], bx
mov eax, dword [esi]
call fcn.00407850
mov ecx, eax
mov eax, 0x45aba6
mov edx, 0xaa
call fcn.00408e14
push 0x45ab8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4093b7
lea eax, [ebp - 4]
call fcn.00406cf0
ret
Function at 0x4095e0
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.00406dd4
xor eax, eax
push ebp
push 0x409805
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409620
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40963a
mov eax, dword [ebp - 4]
call fcn.00407850
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408e14
cmp word [ebp - 0x21a], 0
je 0x4097ef
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409814
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409709
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409814
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409709
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409850
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409709
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409850
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409709
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409884
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409709
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098b8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4097ef
xor eax, eax
push ebp
push 0x4097e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004093f0
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 0x409778
mov eax, dword [ebp - 0x10]
call fcn.004042b4
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.004078b8
jmp 0x4097c3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4098f8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4097c3
mov eax, dword [ebp - 0x10]
call fcn.004042b4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4098f8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004078b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4097ef
cmp dword [ebp - 8], 0
je 0x4097de
mov eax, dword [ebp - 8]
call fcn.004042d0
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 0x40980c
lea eax, [ebp - 4]
call fcn.00406cf0
ret
Function at 0x409af4
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.00406dd4
xor eax, eax
push ebp
push 0x409bb4
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
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.004078f4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407aa4
mov eax, dword [ebx]
call fcn.004099bc
test al, al
jne 0x409b91
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004078f4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407aa4
mov eax, dword [ebx]
call fcn.004099bc
test al, al
jne 0x409b91
mov eax, ebx
call fcn.00406cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409bbb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406d50
lea eax, [ebp - 4]
call fcn.00406cf0
ret

Function at 0x40a4a4
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 0x414c3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x414c95
test eax, edx
je 0x414c98
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x414c53
movzx eax, word [eax]
sub eax, ecx
jmp 0x414c7a
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 0x414c7b
add ecx, 4
js 0x414c6b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x414c78
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x414c7a
xor eax, eax
ret
test eax, eax
je 0x414ca4
test edx, edx
jne 0x414c44
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x415a6c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x415a99
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x419874
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 pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4198ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406e68
jmp 0x4198b6
mov eax, ebx
mov edx, esi
call fcn.004070c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4198c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4198e4
movzx eax, word [ebp - 4]
jmp 0x4198e6
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x41a860
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 0x41a985
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041a668
mov esi, eax
mov eax, dword [0x457848]
cmp byte [eax], 0
je 0x41a92d
mov eax, dword [0x4576a8]
call fcn.00404b60
call fcn.00404408
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41a830]
call fcn.004089f0
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41a9a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41a969
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x457664]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45ac54]
call fcn.00408ab4
push eax
call sub.user32.dll_LoadStringW_1
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 0x41a98c
lea eax, [ebp - 4]
mov edx, dword [0x41a830]
call fcn.004089fc
ret

Function at 0x41bfa0
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x41bfcc
cmp bl, 0
je 0x41bfc8
cmp bl, 0x41
jl 0x41bfc3
cmp bl, 0x5a
jg 0x41bfc3
or bl, 0x20
xor al, bl
inc esi
jmp 0x41bfa7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp fcn.0041befc

Function at 0x42734c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42739e
test eax, edx
je 0x4273a1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x427361
movzx eax, byte [eax]
sub eax, ecx
ret
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]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x427387
add ecx, 4
js 0x427377
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x427384
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4273ad
test edx, edx
jne 0x427354
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret