joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d18
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5e405c], 0
je 0x409d7f
cmp word [0x5e4348], 0xd7b2
jne 0x409d41
cmp dword [0x5e4350], 0
jbe 0x409d41
mov eax, 0x5e4344
call dword [0x5e4360]
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, 0x409dac
call fcn.0040a898
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5de036], 0
jne 0x409d9b
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409f40
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 [0x5de038], 0
je 0x409f6b
mov edx, edi
mov eax, esi
call dword [0x5de038]
mov ebx, eax
jmp 0x409f7c
mov eax, 8
call fcn.00406fa4
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5e405d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409f08
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 0x409fac
mov eax, ebx
call fcn.00406fc0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40d7f0
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 0x40d957
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a080
cmp si, word [0x5dea10]
jb 0x40d888
cmp si, word [0x5dec10]
ja 0x40d888
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d888
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x5dea10]
jae 0x40d862
mov edi, ebx
dec edi
jmp 0x40d883
cmp si, word [ebx*8 + 0x5dea10]
jbe 0x40d872
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d883
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5dea14]
call fcn.0040d70c
jmp 0x40d888
cmp edi, dword [ebp - 8]
jae 0x40d84c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d937
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d937
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.0040ab80
push dword [ebp - 0x160]
push 0x40d974
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040ab80
push dword [ebp - 0x164]
push 0x40d984
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ab80
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040adb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d95e
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a0e0
pop eax
jmp eax
Function at 0x40db0c
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 0x40dc12
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5e6c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5e6c2c]
jne 0x40db58
mov eax, esi
mov edx, 0x5e6c2e
mov ecx, 0x55
call fcn.0040ab80
push 0x5e6c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40dbfa
push 0x5e6c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a080
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dbc7
cmp byte [0x5e6c10], 0
je 0x40db8c
mov edx, esi
mov eax, ebx
call fcn.0040d9f0
jmp 0x40dbc7
mov edx, esi
mov eax, ebx
call fcn.0040d7f0
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40dbc7
cmp dword [esi], 0
je 0x40dbb0
mov eax, esi
mov edx, 0x40dc2c
call fcn.0040acd8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d7f0
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040acd8
push 0x5e6c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5e6c2c], bx
mov eax, dword [esi]
call fcn.0040aae4
mov ecx, eax
mov eax, 0x5e6c2e
mov edx, 0xaa
call fcn.0040d66c
push 0x5e6c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc19
lea eax, [ebp - 4]
call fcn.0040a080
pop eax
jmp eax
Function at 0x40de54
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.0040a174
xor eax, eax
push ebp
push 0x40e07c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40de9a
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40deb4
mov eax, dword [ebp - 4]
call fcn.0040aae4
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d66c
cmp word [ebp - 0x21e], 0
je 0x40e05f
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e08c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df83
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e08c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df83
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e0c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df83
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e0c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df83
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e0fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40df83
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e130
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e05f
xor eax, eax
push ebp
push 0x40e058
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040dc54
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 0x40dfe6
mov eax, dword [ebp - 0x14]
call fcn.00406fa4
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.0040ab44
jmp 0x40e031
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e170
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e031
mov eax, dword [ebp - 0x14]
call fcn.00406fa4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e170
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ab44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e05f
cmp dword [ebp - 0xc], 0
je 0x40e04c
mov eax, dword [ebp - 0xc]
call fcn.00406fc0
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 0x40e083
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a0e0
pop eax
jmp eax
Function at 0x40e390
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.0040a174
xor eax, eax
push ebp
push 0x40e452
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.0040ab80
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ad30
mov eax, dword [ebx]
call fcn.0040e238
test al, al
jne 0x40e42d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040ab80
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040ad30
mov eax, dword [ebx]
call fcn.0040e238
test al, al
jne 0x40e42d
mov eax, ebx
call fcn.0040a080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e459
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a0e0
lea eax, [ebp - 4]
call fcn.0040a080
pop eax
jmp eax

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

Disassembly:
cmp eax, edx
je 0x4241c5
test eax, edx
je 0x4241c8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x424183
movzx eax, word [eax]
sub eax, ecx
jmp 0x4241aa
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 0x4241ab
add ecx, 4
js 0x42419b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4241a8
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4241aa
xor eax, eax
ret
test eax, eax
je 0x4241d4
test edx, edx
jne 0x424174
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040aae4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42544e
test esi, 0x400
jne 0x4253e5
test esi, 0x10
setne bl
jmp 0x42544e
cmp byte [esp], 0
je 0x425419
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42544e
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x42544e
test esi, 0x10
je 0x425425
mov bl, 1
jmp 0x42544e
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42544c
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x42544e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x429680
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 0x4296b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a218
jmp 0x4296c2
mov eax, ebx
mov edx, esi
call fcn.0040a470
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4296cc
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 0x4296f0
movzx eax, word [esp]
jmp 0x4296f2
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42ae0c
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 0x42af33
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042ac14
mov esi, eax
mov eax, dword [0x5e31a0]
cmp byte [eax], 0
je 0x42aed9
mov eax, dword [0x5e2e60]
call fcn.00407a44
call fcn.00407118
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 [0x42addc]
call fcn.0040cd44
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 0x42af4c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42af15
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5e2dd8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5e7634]
call fcn.0040d310
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 0x42af3a
lea eax, [ebp - 4]
mov edx, dword [0x42addc]
call fcn.0040ce68
pop eax
jmp eax
Function at 0x42c22c
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 0x42c26f
mov eax, dword [ebp - 0x10c]
mov dword [0x5e78f4], eax
mov eax, 0x5e78f8
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040ab80
mov eax, 0x5e78fc
call fcn.0040a080
xor eax, eax
mov dword [0x5e7900], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x5e77b8], 0xa
jl 0x42c3c5
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x42c3d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x42c3c5
xor eax, eax
push ebp
push 0x42c3be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42c42c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42c31e
cmp dword [ebp - 8], 2
jle 0x42c31e
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42c2f1
adc edx, 0
mov eax, 0x5e78fc
call fcn.0040ac58
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5e78fc]
call fcn.0040aae4
push eax
push 0
push 0
push 0x42c42c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x42c378
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x42c44c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x42c378
cmp dword [ebp - 8], 2
jle 0x42c378
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x42c34d
adc edx, 0
mov eax, 0x5e78fc
call fcn.0040ac58
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5e78fc]
call fcn.0040aae4
push eax
push 0
push 0
push 0x42c44c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x5e7900
push 0
push 0
push 0x42c460
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42c3a5
xor eax, eax
mov dword [0x5e7900], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c3c5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x5e0710], 1
mov esp, ebp
pop ebp
ret
Function at 0x42c508
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42c5e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a4b8
lea eax, [ebp - 4]
call fcn.0040a5d8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aae4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42c5ca
mov eax, ebx
call fcn.00406fa4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42c5c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aae4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42c5ab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42c5f4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42c5ab
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c5ca
mov eax, dword [ebp - 0x10]
call fcn.00406fc0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c5e9
lea eax, [ebp - 4]
call fcn.0040a080
pop eax
jmp eax

Function at 0x42d580
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.0040a564
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ffc8
mov edi, eax
cmp edi, 0x104
jbe 0x42d52b
mov eax, edi
add eax, eax
call fcn.00406fa4
mov esi, eax
jmp 0x42d52d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ffc8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42d566
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 0x42d550
mov eax, esp
cmp esi, eax
je 0x42d573
mov eax, esi
call fcn.00406fc0
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 0x42d5ac
cmp bl, 0
je 0x42d5a8
cmp bl, 0x41
jl 0x42d5a3
cmp bl, 0x5a
jg 0x42d5a3
or bl, 0x20
xor al, bl
inc esi
jmp 0x42d587
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42d4ec

Function at 0x42dec4
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.0040ab80
add esp, 0x800
pop ebx
ret
Function at 0x430968
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 0x430988
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x4309a2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43099d
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4309a7
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x430a15
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x430a5e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4309d3
inc dword [ebp - 0xc]
jmp 0x4309eb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x4309eb
cmp dword [ebp - 0xc], 0
jle 0x4309eb
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x430a0d
xor eax, eax
jmp 0x430a09
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x430a08
mov eax, esi
jmp 0x430a61
inc eax
cmp eax, ecx
jle 0x4309f5
inc esi
cmp esi, dword [ebp - 8]
jl 0x4309bf
jmp 0x430a5e
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x430a5e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x430a36
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x430a58
xor eax, eax
jmp 0x430a54
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x430a53
mov eax, esi
jmp 0x430a61
inc eax
cmp eax, ecx
jle 0x430a40
inc esi
cmp esi, dword [ebp - 8]
jl 0x430a1e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430c70
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 0x430c8f
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x430c9f
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 0x430dc1
test ebx, ebx
jl 0x430dc1
test esi, esi
jle 0x430dc1
mov eax, dword [ebp - 8]
call fcn.0040aae4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040aae4
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 0x430d5e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x430dc1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x430d43
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x430d12
inc dword [ebp - 0x14]
jmp 0x430d22
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x430d22
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x430d2d
or eax, 0xffffffff
jmp 0x430d43
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x430d40
inc eax
jmp 0x430d43
or eax, 0xffffffff
test eax, eax
jl 0x430d4b
cmp esi, eax
jg 0x430d00
cmp esi, eax
jg 0x430d56
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x430dc4
inc edx
dec dword [ebp - 0x1c]
jne 0x430cfc
jmp 0x430dc1
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x430dc1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x430da8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x430d87
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x430d92
or eax, 0xffffffff
jmp 0x430da8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x430da5
inc eax
jmp 0x430da8
or eax, 0xffffffff
test eax, eax
jl 0x430db0
cmp esi, eax
jg 0x430d70
cmp esi, eax
jg 0x430dbb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x430dc4
inc edx
dec dword [ebp - 0x1c]
jne 0x430d6c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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