joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408c20
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.004090e0
mov byte [esp], al
cmp byte [esp], 0
jne 0x408da9
test edi, edi
je 0x408da9
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408ce9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408cc4
cmp edi, 0xffffffff
je 0x408c85
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408c85
mov byte [esp], 0
jmp 0x408da9
cmp dword [esi], 1
jg 0x408cc4
cmp dword [esi], 0
jne 0x408cb6
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408cb6
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408da9
lea eax, [esp + 0xc]
call fcn.004088b8
dec ebp
test ebp, ebp
jg 0x408c6a
cmp edi, 0xffffffff
je 0x408ce9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408ce7
mov byte [esp], 0
jmp 0x408da9
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408c2e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408ce9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408e24
mov edx, eax
mov ebx, dword [0x5008fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408d4d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408d4b
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408d4d
xor edi, edi
cmp byte [esp], 0
je 0x408d73
mov ebx, dword [esi]
test bl, 1
jne 0x408d89
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408d53
mov byte [esp + 1], 1
jmp 0x408d89
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408d73
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408d00
cmp byte [esp], 0
je 0x408da9
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 0x409c80
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x500058], 0
je 0x409ce7
cmp word [0x500348], 0xd7b2
jne 0x409ca9
cmp dword [0x500350], 0
jbe 0x409ca9
mov eax, 0x500344
call dword [0x500360]
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, 0x409d14
call fcn.0040a7fc
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4fb032], 0
jne 0x409d03
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409ea8
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 [0x4fb034], 0
je 0x409ed3
mov edx, edi
mov eax, esi
call dword [0x4fb034]
mov ebx, eax
jmp 0x409ee4
mov eax, 8
call fcn.00406dec
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x500059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409e70
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 0x409f14
mov eax, ebx
call fcn.00406e08
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40da34
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 0x40db9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409fe8
cmp si, word [0x4fba08]
jb 0x40dacc
cmp si, word [0x4fbc08]
ja 0x40dacc
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40dacc
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4fba08]
jae 0x40daa6
mov edi, ebx
dec edi
jmp 0x40dac7
cmp si, word [ebx*8 + 0x4fba08]
jbe 0x40dab6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40dac7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4fba0c]
call fcn.0040d954
jmp 0x40dacc
cmp edi, dword [ebp - 8]
jae 0x40da90
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40db7b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40db7b
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.0040aafc
push dword [ebp - 0x160]
push 0x40dbb8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040aafc
push dword [ebp - 0x164]
push 0x40dbc8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040aafc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040ad34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dba2
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a048
pop eax
jmp eax
Function at 0x40dd50
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 0x40de56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x502c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x502c2c]
jne 0x40dd9c
mov eax, esi
mov edx, 0x502c2e
mov ecx, 0x55
call fcn.0040aafc
push 0x502c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40de3e
push 0x502c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409fe8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40de0b
cmp byte [0x502c10], 0
je 0x40ddd0
mov edx, esi
mov eax, ebx
call fcn.0040dc34
jmp 0x40de0b
mov edx, esi
mov eax, ebx
call fcn.0040da34
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40de0b
cmp dword [esi], 0
je 0x40ddf4
mov eax, esi
mov edx, 0x40de70
call fcn.0040ac54
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040da34
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040ac54
push 0x502c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x502c2c], bx
mov eax, dword [esi]
call fcn.0040aa48
mov ecx, eax
mov eax, 0x502c2e
mov edx, 0xaa
call fcn.0040d8b4
push 0x502c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40de5d
lea eax, [ebp - 4]
call fcn.00409fe8
pop eax
jmp eax
Function at 0x40e098
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a0dc
xor eax, eax
push ebp
push 0x40e2c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e0de
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e0f8
mov eax, dword [ebp - 4]
call fcn.0040aa48
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d8b4
cmp word [ebp - 0x21e], 0
je 0x40e2a3
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e2d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e1c7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e2d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e1c7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e30c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e1c7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e30c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e1c7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e340
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e1c7
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e374
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e2a3
xor eax, eax
push ebp
push 0x40e29c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040de98
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e22a
mov eax, dword [ebp - 0x14]
call fcn.00406dec
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040aaa8
jmp 0x40e275
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e3b4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e275
mov eax, dword [ebp - 0x14]
call fcn.00406dec
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e3b4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040aaa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2a3
cmp dword [ebp - 0xc], 0
je 0x40e290
mov eax, dword [ebp - 0xc]
call fcn.00406e08
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e2c7
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a048
pop eax
jmp eax
Function at 0x40e5d0
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.0040a0dc
xor eax, eax
push ebp
push 0x40e692
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.0040aafc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040acac
mov eax, dword [ebx]
call fcn.0040e47c
test al, al
jne 0x40e66d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040aafc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040acac
mov eax, dword [ebx]
call fcn.0040e47c
test al, al
jne 0x40e66d
mov eax, ebx
call fcn.00409fe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e699
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a048
lea eax, [ebp - 4]
call fcn.00409fe8
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x420dc5
test eax, edx
je 0x420dc8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420d83
movzx eax, word [eax]
sub eax, ecx
jmp 0x420daa
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x420dab
add ecx, 4
js 0x420d9b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420da8
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420daa
xor eax, eax
ret
test eax, eax
je 0x420dd4
test edx, edx
jne 0x420d74
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x426e7c
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
test eax, eax
jle 0x426eb5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a180
jmp 0x426ebe
mov eax, ebx
mov edx, esi
call fcn.0040a3d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x426ec8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x426eec
movzx eax, word [esp]
jmp 0x426eee
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x428be4
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 0x428d0b
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004289ec
mov esi, eax
mov eax, dword [0x4ff390]
cmp byte [eax], 0
je 0x428cb1
mov eax, dword [0x4ff0f0]
call fcn.004079bc
call fcn.00406f60
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 [0x428bb4]
call fcn.0040ce88
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 0x428d24
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x428ced
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4ff090]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x503634]
call fcn.0040d558
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 0x428d12
lea eax, [ebp - 4]
mov edx, dword [0x428bb4]
call fcn.0040cfac
pop eax
jmp eax
Function at 0x42a14c
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x42a18f
mov eax, dword [ebp - 0x10c]
mov dword [0x5038ec], eax
mov eax, 0x5038f0
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040aafc
mov eax, 0x5038f4
call fcn.00409fe8
xor eax, eax
mov dword [0x5038f8], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x5037b0], 0xa
jl 0x42a2e5
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42a2f0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42a2e5
xor eax, eax
push ebp
push 0x42a2de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42a34c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42a23e
cmp dword [ebp - 8], 2
jle 0x42a23e
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42a211
adc edx, 0
mov eax, 0x5038f4
call fcn.0040abd4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5038f4]
call fcn.0040aa48
push eax
push 0
push 0
push 0x42a34c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42a298
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42a36c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42a298
cmp dword [ebp - 8], 2
jle 0x42a298
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42a26d
adc edx, 0
mov eax, 0x5038f4
call fcn.0040abd4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5038f4]
call fcn.0040aa48
push eax
push 0
push 0
push 0x42a36c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x5038f8
push 0
push 0
push 0x42a380
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42a2c5
xor eax, eax
mov dword [0x5038f8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2e5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x4fd710], 1
mov esp, ebp
pop ebp
ret
Function at 0x42b404
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.0040a4c8
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004101d4
mov edi, eax
cmp edi, 0x104
jbe 0x42b3af
mov eax, edi
add eax, eax
call fcn.00406dec
mov esi, eax
jmp 0x42b3b1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004101d4
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42b3ea
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 0x42b3d4
mov eax, esp
cmp esi, eax
je 0x42b3f7
mov eax, esi
call fcn.00406e08
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 0x42b430
cmp bl, 0
je 0x42b42c
cmp bl, 0x41
jl 0x42b427
cmp bl, 0x5a
jg 0x42b427
or bl, 0x20
xor al, bl
inc esi
jmp 0x42b40b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b370

Function at 0x42bd4c
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.0040aafc
add esp, 0x800
pop ebx
ret
Function at 0x42e580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42e59e
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42e5b6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42e5b1
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42e5bb
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42e629
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42e672
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42e5e7
inc dword [ebp - 0xc]
jmp 0x42e5ff
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42e5ff
cmp dword [ebp - 0xc], 0
jle 0x42e5ff
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42e621
xor eax, eax
jmp 0x42e61d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42e61c
mov eax, esi
jmp 0x42e675
inc eax
cmp eax, ecx
jle 0x42e609
inc esi
cmp esi, dword [ebp - 8]
jl 0x42e5d3
jmp 0x42e672
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42e672
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42e64a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42e66c
xor eax, eax
jmp 0x42e668
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42e667
mov eax, esi
jmp 0x42e675
inc eax
cmp eax, ecx
jle 0x42e654
inc esi
cmp esi, dword [ebp - 8]
jl 0x42e632
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e864
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42e881
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42e88f
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42e9b1
test ebx, ebx
jl 0x42e9b1
test esi, esi
jle 0x42e9b1
mov eax, dword [ebp - 8]
call fcn.0040aa48
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040aa48
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42e94e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42e9b1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42e933
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42e902
inc dword [ebp - 0x14]
jmp 0x42e912
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42e912
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42e91d
or eax, 0xffffffff
jmp 0x42e933
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42e930
inc eax
jmp 0x42e933
or eax, 0xffffffff
test eax, eax
jl 0x42e93b
cmp esi, eax
jg 0x42e8f0
cmp esi, eax
jg 0x42e946
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42e9b4
inc edx
dec dword [ebp - 0x1c]
jne 0x42e8ec
jmp 0x42e9b1
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42e9b1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42e998
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42e977
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42e982
or eax, 0xffffffff
jmp 0x42e998
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42e995
inc eax
jmp 0x42e998
or eax, 0xffffffff
test eax, eax
jl 0x42e9a0
cmp esi, eax
jg 0x42e960
cmp esi, eax
jg 0x42e9ab
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42e9b4
inc edx
dec dword [ebp - 0x1c]
jne 0x42e95c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43ebc8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x43ebd0
mov eax, edx
pop esi
pop ebx
ret

Function at 0x441844
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x44185b
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x44184b
mov eax, ecx
pop ebx
ret