joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d40
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x550b9c
cmp dword [ebp + 0xc], 2
jl 0x409d54
mov ebx, 0x550bcc
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x409d8c
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x405200
mov dword [0x54e01c], eax
mov eax, 0x405208
mov dword [0x54e020], eax
mov eax, ebx
call fcn.00409c24
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x409dc1
cmp al, 3
jge 0x409dc1
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x409dd2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x409ddd
call dword [ecx + eax*4]
cmp dword [0x54e040], 0
jne 0x409df3
mov byte [0x54e048], 1
fnstcw word [0x54702c]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.0040a090
call fcn.00409cd4
ret 4

Function at 0x409ff8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54e058], 0
je 0x40a05f
cmp word [0x54e344], 0xd7b2
jne 0x40a021
cmp dword [0x54e34c], 0
jbe 0x40a021
mov eax, 0x54e340
call dword [0x54e35c]
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, 0x40a08c
call fcn.0040abb4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x547036], 0
jne 0x40a07b
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a25c
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 [0x547038], 0
je 0x40a287
mov edx, edi
mov eax, esi
call dword [0x547038]
mov ebx, eax
jmp 0x40a298
mov eax, 8
call fcn.00406f84
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x54e059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a224
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 0x40a2c8
mov eax, ebx
call fcn.00406fa0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40da98
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 0x40dbff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a39c
cmp si, word [0x547a18]
jb 0x40db30
cmp si, word [0x547c18]
ja 0x40db30
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40db30
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x547a18]
jae 0x40db0a
mov edi, ebx
dec edi
jmp 0x40db2b
cmp si, word [ebx*8 + 0x547a18]
jbe 0x40db1a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40db2b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x547a1c]
call fcn.0040d9b4
jmp 0x40db30
cmp edi, dword [ebp - 8]
jae 0x40daf4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40dbdf
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dbdf
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.0040aeb4
push dword [ebp - 0x160]
push 0x40dc1c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040aeb4
push dword [ebp - 0x164]
push 0x40dc2c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040aeb4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b0ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc06
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a3fc
pop eax
jmp eax
Function at 0x40ddb4
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 0x40deba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x550c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x550c2c]
jne 0x40de00
mov eax, esi
mov edx, 0x550c2e
mov ecx, 0x55
call fcn.0040aeb4
push 0x550c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40dea2
push 0x550c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a39c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40de6f
cmp byte [0x550c10], 0
je 0x40de34
mov edx, esi
mov eax, ebx
call fcn.0040dc98
jmp 0x40de6f
mov edx, esi
mov eax, ebx
call fcn.0040da98
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40de6f
cmp dword [esi], 0
je 0x40de58
mov eax, esi
mov edx, 0x40ded4
call fcn.0040b00c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040da98
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b00c
push 0x550c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x550c2c], bx
mov eax, dword [esi]
call fcn.0040ae00
mov ecx, eax
mov eax, 0x550c2e
mov edx, 0xaa
call fcn.0040d914
push 0x550c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dec1
lea eax, [ebp - 4]
call fcn.0040a39c
pop eax
jmp eax
Function at 0x40e0fc
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.0040a490
xor eax, eax
push ebp
push 0x40e324
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e142
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e15c
mov eax, dword [ebp - 4]
call fcn.0040ae00
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d914
cmp word [ebp - 0x21e], 0
je 0x40e307
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e334
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e22b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e334
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e22b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e370
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e22b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e370
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e22b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e3a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e22b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e3d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e307
xor eax, eax
push ebp
push 0x40e300
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040defc
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 0x40e28e
mov eax, dword [ebp - 0x14]
call fcn.00406f84
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.0040ae60
jmp 0x40e2d9
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e418
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e2d9
mov eax, dword [ebp - 0x14]
call fcn.00406f84
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e418
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ae60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e307
cmp dword [ebp - 0xc], 0
je 0x40e2f4
mov eax, dword [ebp - 0xc]
call fcn.00406fa0
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 0x40e32b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a3fc
pop eax
jmp eax
Function at 0x40e638
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.0040a490
xor eax, eax
push ebp
push 0x40e6fa
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.0040aeb4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b064
mov eax, dword [ebx]
call fcn.0040e4e0
test al, al
jne 0x40e6d5
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040aeb4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b064
mov eax, dword [ebx]
call fcn.0040e4e0
test al, al
jne 0x40e6d5
mov eax, ebx
call fcn.0040a39c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e701
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a3fc
lea eax, [ebp - 4]
call fcn.0040a39c
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x420969
test eax, edx
je 0x42096c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420927
movzx eax, word [eax]
sub eax, ecx
jmp 0x42094e
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 0x42094f
add ecx, 4
js 0x42093f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x42094c
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42094e
xor eax, eax
ret
test eax, eax
je 0x420978
test edx, edx
jne 0x420918
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x421c0c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040ae00
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421c76
test ah, 4
je 0x421c6f
test bl, bl
jne 0x421c34
mov al, 1
jmp 0x421c9d
test al, 0x10
je 0x421c3c
xor eax, eax
jmp 0x421c9d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421c60
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x421c9d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x421c9d
test al, 0x10
sete al
jmp 0x421c9d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x421c97
cmp ebx, 3
je 0x421c97
cmp ebx, 0x7b
je 0x421c97
mov eax, esi
call fcn.00421bcc
test al, al
jne 0x421c9b
xor eax, eax
jmp 0x421c9d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x4264b0
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 0x4264e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a534
jmp 0x4264f2
mov eax, ebx
mov edx, esi
call fcn.0040a78c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4264fc
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 0x426520
movzx eax, word [esp]
jmp 0x426522
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x427c40
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 0x427d67
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00427a48
mov esi, eax
mov eax, dword [0x54da24]
cmp byte [eax], 0
je 0x427d0d
mov eax, dword [0x54d6d0]
call fcn.00407ce4
call fcn.004070f8
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 [0x427c10]
call fcn.0040d024
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 0x427d80
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x427d49
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x54d660]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x551634]
call fcn.0040d5b8
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 0x427d6e
lea eax, [ebp - 4]
mov edx, dword [0x427c10]
call fcn.0040d148
pop eax
jmp eax
Function at 0x4290fc
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 0x42913f
mov eax, dword [ebp - 0x10c]
mov dword [0x5518f4], eax
mov eax, 0x5518f8
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040aeb4
mov eax, 0x5518fc
call fcn.0040a39c
xor eax, eax
mov dword [0x551900], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x5517b8], 0xa
jl 0x429295
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4292a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x429295
xor eax, eax
push ebp
push 0x42928e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x4292fc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4291ee
cmp dword [ebp - 8], 2
jle 0x4291ee
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x4291c1
adc edx, 0
mov eax, 0x5518fc
call fcn.0040af8c
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5518fc]
call fcn.0040ae00
push eax
push 0
push 0
push 0x4292fc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x429248
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42931c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x429248
cmp dword [ebp - 8], 2
jle 0x429248
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42921d
adc edx, 0
mov eax, 0x5518fc
call fcn.0040af8c
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5518fc]
call fcn.0040ae00
push eax
push 0
push 0
push 0x42931c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x551900
push 0
push 0
push 0x429330
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x429275
xor eax, eax
mov dword [0x551900], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429295
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x549710], 1
mov esp, ebp
pop ebp
ret
Function at 0x42a3ec
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.0040a880
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004101f8
mov edi, eax
cmp edi, 0x104
jbe 0x42a397
mov eax, edi
add eax, eax
call fcn.00406f84
mov esi, eax
jmp 0x42a399
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004101f8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42a3d2
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 0x42a3bc
mov eax, esp
cmp esi, eax
je 0x42a3df
mov eax, esi
call fcn.00406fa0
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 0x42a418
cmp bl, 0
je 0x42a414
cmp bl, 0x41
jl 0x42a40f
cmp bl, 0x5a
jg 0x42a40f
or bl, 0x20
xor al, bl
inc esi
jmp 0x42a3f3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42a358

Function at 0x42ad10
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.0040aeb4
add esp, 0x800
pop ebx
ret
Function at 0x42d5c8
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 0x42d5e8
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42d602
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42d5fd
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42d607
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42d675
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42d6be
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42d633
inc dword [ebp - 0xc]
jmp 0x42d64b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42d64b
cmp dword [ebp - 0xc], 0
jle 0x42d64b
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42d66d
xor eax, eax
jmp 0x42d669
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42d668
mov eax, esi
jmp 0x42d6c1
inc eax
cmp eax, ecx
jle 0x42d655
inc esi
cmp esi, dword [ebp - 8]
jl 0x42d61f
jmp 0x42d6be
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42d6be
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42d696
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42d6b8
xor eax, eax
jmp 0x42d6b4
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42d6b3
mov eax, esi
jmp 0x42d6c1
inc eax
cmp eax, ecx
jle 0x42d6a0
inc esi
cmp esi, dword [ebp - 8]
jl 0x42d67e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42d8b0
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 0x42d8cf
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42d8df
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42da01
test ebx, ebx
jl 0x42da01
test esi, esi
jle 0x42da01
mov eax, dword [ebp - 8]
call fcn.0040ae00
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040ae00
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 0x42d99e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42da01
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42d983
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42d952
inc dword [ebp - 0x14]
jmp 0x42d962
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42d962
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42d96d
or eax, 0xffffffff
jmp 0x42d983
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42d980
inc eax
jmp 0x42d983
or eax, 0xffffffff
test eax, eax
jl 0x42d98b
cmp esi, eax
jg 0x42d940
cmp esi, eax
jg 0x42d996
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42da04
inc edx
dec dword [ebp - 0x1c]
jne 0x42d93c
jmp 0x42da01
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42da01
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42d9e8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42d9c7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42d9d2
or eax, 0xffffffff
jmp 0x42d9e8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42d9e5
inc eax
jmp 0x42d9e8
or eax, 0xffffffff
test eax, eax
jl 0x42d9f0
cmp esi, eax
jg 0x42d9b0
cmp esi, eax
jg 0x42d9fb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42da04
inc edx
dec dword [ebp - 0x1c]
jne 0x42d9ac
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43c994
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 0x43c99c
mov eax, edx
pop esi
pop ebx
ret

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

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