joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4061ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00406678
mov byte [esp], al
cmp byte [esp], 0
jne 0x406375
test edi, edi
je 0x406375
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4062b5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406290
cmp edi, 0xffffffff
je 0x406251
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406251
mov byte [esp], 0
jmp 0x406375
cmp dword [esi], 1
jg 0x406290
cmp dword [esi], 0
jne 0x406282
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x406282
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406375
lea eax, [esp + 0xc]
call fcn.00405ea8
dec ebp
test ebp, ebp
jg 0x406236
cmp edi, 0xffffffff
je 0x4062b5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4062b3
mov byte [esp], 0
jmp 0x406375
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4061fa
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4062b5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004063e4
mov edx, eax
mov ebx, dword [0x4208f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406319
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406317
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406319
xor edi, edi
cmp byte [esp], 0
je 0x40633f
mov ebx, dword [esi]
test bl, 1
jne 0x406355
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40631f
mov byte [esp + 1], 1
jmp 0x406355
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40633f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4062cc
cmp byte [esp], 0
je 0x406375
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x407050
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x420054], 0
je 0x4070b7
cmp word [0x420340], 0xd7b2
jne 0x407079
cmp dword [0x420348], 0
jbe 0x407079
mov eax, 0x42033c
call dword [0x420358]
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, 0x4070e4
call fcn.00407888
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41e022], 0
jne 0x4070d3
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409150
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 0x4092b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004072d4
cmp si, word [0x41e9f0]
jb 0x4091e8
cmp si, word [0x41ebf0]
ja 0x4091e8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4091e8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x41e9f0]
jae 0x4091c2
mov edi, ebx
dec edi
jmp 0x4091e3
cmp si, word [ebx*8 + 0x41e9f0]
jbe 0x4091d2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4091e3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x41e9f4]
call fcn.00409070
jmp 0x4091e8
cmp edi, dword [ebp - 8]
jae 0x4091ac
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409297
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409297
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.00407a20
push dword [ebp - 0x160]
push 0x4092d0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407a20
push dword [ebp - 0x164]
push 0x4092e0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407a20
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407bd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4092bc
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407334
ret
Function at 0x409468
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 0x40956c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x422c0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x422c24]
jne 0x4094b4
mov eax, esi
mov edx, 0x422c26
mov ecx, 0x55
call fcn.00407a20
push 0x422c0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409556
push 0x422c0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004072d4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409523
cmp byte [0x422c08], 0
je 0x4094e8
mov edx, esi
mov eax, ebx
call fcn.0040934c
jmp 0x409523
mov edx, esi
mov eax, ebx
call fcn.00409150
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x409523
cmp dword [esi], 0
je 0x40950c
mov eax, esi
mov edx, 0x409584
call fcn.00407af8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409150
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407af8
push 0x422c0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x422c24], bx
mov eax, dword [esi]
call fcn.0040798c
mov ecx, eax
mov eax, 0x422c26
mov edx, 0xaa
call fcn.00408fd0
push 0x422c0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409573
lea eax, [ebp - 4]
call fcn.004072d4
ret
Function at 0x40979c
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.004073b8
xor eax, eax
push ebp
push 0x4099c1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4097dc
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4097f6
mov eax, dword [ebp - 4]
call fcn.0040798c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408fd0
cmp word [ebp - 0x21a], 0
je 0x4099ab
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4099d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4098c5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4099d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4098c5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a0c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4098c5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4098c5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a40
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4098c5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4099ab
xor eax, eax
push ebp
push 0x4099a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004095ac
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 0x409934
mov eax, dword [ebp - 0x10]
call fcn.004044f4
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.004079e4
jmp 0x40997f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409ab4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40997f
mov eax, dword [ebp - 0x10]
call fcn.004044f4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409ab4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004079e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4099ab
cmp dword [ebp - 8], 0
je 0x40999a
mov eax, dword [ebp - 8]
call fcn.00404510
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 0x4099c8
lea eax, [ebp - 4]
call fcn.004072d4
ret
Function at 0x409cb0
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.004073b8
xor eax, eax
push ebp
push 0x409d70
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.00407a20
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407b50
mov eax, dword [ebx]
call fcn.00409b78
test al, al
jne 0x409d4d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407a20
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407b50
mov eax, dword [ebx]
call fcn.00409b78
test al, al
jne 0x409d4d
mov eax, ebx
call fcn.004072d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409d77
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407334
lea eax, [ebp - 4]
call fcn.004072d4
ret

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

Disassembly:
cmp eax, edx
je 0x41440d
test eax, edx
je 0x414410
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4143cb
movzx eax, word [eax]
sub eax, ecx
jmp 0x4143f2
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 0x4143f3
add ecx, 4
js 0x4143e3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4143f0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4143f2
xor eax, eax
ret
test eax, eax
je 0x41441c
test edx, edx
jne 0x4143bc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x416698
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 0x4166d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040742c
jmp 0x4166da
mov eax, ebx
mov edx, esi
call fcn.004075e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4166e4
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_1
test eax, eax
jle 0x416706
movzx eax, word [esp]
jmp 0x416708
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x417a04
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 0x417b29
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041780c
mov esi, eax
mov eax, dword [0x41f694]
cmp byte [eax], 0
je 0x417ad1
mov eax, dword [0x41f5ac]
call fcn.00404bcc
call fcn.00404648
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 [0x4179d4]
call fcn.00408a88
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 0x417b44
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x417b0d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x41f584]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x423620]
call fcn.00408c74
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 0x417b30
lea eax, [ebp - 4]
mov edx, dword [0x4179d4]
call fcn.00408bac
ret
Function at 0x418bbc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418cbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407628
lea eax, [ebp - 4]
call fcn.00407794
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040798c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x418ca6
mov eax, ebx
call fcn.004044f4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x418c9f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040798c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x418c89
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x418cd0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x418c89
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418ca6
mov eax, dword [ebp - 0x10]
call fcn.00404510
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418cc3
lea eax, [ebp - 4]
call fcn.004072d4
ret

Function at 0x41975c
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.004076dc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b5e4
mov edi, eax
cmp edi, 0x104
jbe 0x419707
mov eax, edi
add eax, eax
call fcn.004044f4
mov esi, eax
jmp 0x419709
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b5e4
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x419742
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 0x41972c
mov eax, esp
cmp esi, eax
je 0x41974f
mov eax, esi
call fcn.00404510
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 0x419788
cmp bl, 0
je 0x419784
cmp bl, 0x41
jl 0x41977f
cmp bl, 0x5a
jg 0x41977f
or bl, 0x20
xor al, bl
inc esi
jmp 0x419763
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4196c8

Function at 0x4199ac
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_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407a20
add esp, 0x800
pop ebx
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x413540
jmp fcn.00413590
cmp ecx, dword [0x417038]
jne 0x41354a
repz ret
jmp 0x41108c
Function at 0x416a10
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 4]
push 0
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [esp + 4]
test eax, eax
je 0x416ae6
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
push ecx
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 4]
mov esi, eax
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.FeatureSettings
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.FeatureSettingsOverride
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x416ac4
mov edx, dword [0x4b1d94]
push 0x4b1a9c
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
or eax, ecx
pop esi
xor eax, 0x11
neg eax
sbb eax, eax
inc eax
add esp, 0x14
ret
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5a37143b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x19a060bf
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219