joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e020
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.0040a444
xor eax, eax
push ebp
push 0x40e248
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e066
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e080
mov eax, dword [ebp - 4]
call fcn.0040adb4
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d838
cmp word [ebp - 0x21e], 0
je 0x40e22b
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e258
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e14f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e258
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e14f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e294
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e14f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e294
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e14f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e2c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e14f
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40e2fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e22b
xor eax, eax
push ebp
push 0x40e224
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040de20
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 0x40e1b2
mov eax, dword [ebp - 0x14]
call fcn.00406f68
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.0040ae14
jmp 0x40e1fd
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40e33c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e1fd
mov eax, dword [ebp - 0x14]
call fcn.00406f68
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40e33c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040ae14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e22b
cmp dword [ebp - 0xc], 0
je 0x40e218
mov eax, dword [ebp - 0xc]
call fcn.00406f84
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 0x40e24f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a3b0
pop eax
jmp eax
Function at 0x40e55c
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.0040a444
xor eax, eax
push ebp
push 0x40e61e
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.0040ae50
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b000
mov eax, dword [ebx]
call fcn.0040e404
test al, al
jne 0x40e5f9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040ae50
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b000
mov eax, dword [ebx]
call fcn.0040e404
test al, al
jne 0x40e5f9
mov eax, ebx
call fcn.0040a350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e625
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a3b0
lea eax, [ebp - 4]
call fcn.0040a350
pop eax
jmp eax

Function at 0x4100f4
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 0x4213ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4214dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x4214b4
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x42149d
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040ae50
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b214
test eax, eax
jle 0x42149d
mov eax, dword [ebp - 4]
test eax, eax
je 0x421451
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x42145f
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.0040b170
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040ae14
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040b000
jmp 0x4214b4
add ebx, 2
cmp word [ebx], 0
jne 0x42149a
add ebx, 4
test ebx, ebx
je 0x4214ae
cmp word [ebx], 0
jne 0x4213fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4214e3
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.0040a3b0
lea eax, [ebp - 4]
call fcn.0040a350
pop eax
jmp eax
Function at 0x421890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.0042a920
test al, al
je 0x42195a
xor edx, edx
mov eax, ebx
call fcn.00422c98
test al, al
je 0x42195a
mov eax, ebx
call fcn.00422a4c
test al, 0x20
je 0x42195a
mov eax, ebx
call fcn.0040adb4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42195a
test ah, 4
je 0x42195a
test al, 0x10
je 0x4218f7
mov edi, 0x2000000
jmp 0x4218f9
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040adb4
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x42195a
xor eax, eax
push ebp
push 0x421953
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.004215d8
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42195a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x421a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x421aa9
test eax, edx
je 0x421aac
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x421a67
movzx eax, word [eax]
sub eax, ecx
jmp 0x421a8e
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 0x421a8f
add ecx, 4
js 0x421a7f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x421a8c
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x421a8e
xor eax, eax
ret
test eax, eax
je 0x421ab8
test edx, edx
jne 0x421a58
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4228f8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4229d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x4229bc
test edi, edi
je 0x4229bc
xor edx, edx
mov eax, 6
call fcn.0042a920
test al, al
je 0x4229bc
lea edx, [ebp - 4]
mov eax, edi
call fcn.00423358
mov eax, dword [ebp - 4]
call fcn.00422a4c
test al, 0x20
je 0x4229bc
mov eax, esi
call fcn.004235e0
test al, al
je 0x422982
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0042ad60
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040afa8
mov eax, dword [ebp - 8]
call fcn.0040adb4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x422991
mov eax, esi
call fcn.0040adb4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4229a2
test bl, 0x10
je 0x4229a2
mov ebx, 1
jmp 0x4229a4
xor ebx, ebx
push ebx
mov eax, esi
call fcn.0040adb4
push eax
mov eax, edi
call fcn.0040adb4
push eax
call sub.kernel32.dll_CreateSymbolicLinkW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4229e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a3b0
pop eax
jmp eax

Function at 0x422a4c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x422ba0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4229ec]
call fcn.0040cf48
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x422a1c]
call fcn.0040cf48
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00422d30
test al, al
jne 0x422ac2
mov dl, 1
mov eax, esi
call fcn.00422c98
test al, al
je 0x422b4c
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00423498
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042ad60
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040adb4
mov edi, eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x422b47
test byte [ebp - 0x14], 1
je 0x422b12
or bl, 1
test byte [ebp - 0x14], 2
je 0x422b1b
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x422b24
or bl, 0x20
push edi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x422b38
dec eax
je 0x422b3d
dec eax
je 0x422b42
dec eax
jne 0x422b64
or bl, 0x10
jmp 0x422b64
or bl, 4
jmp 0x422b64
or bl, 8
jmp 0x422b64
call fcn.0042bb54
push esi
mov ecx, dword [0x4fedfc]
mov dl, 1
mov eax, dword [0x41b628]
call fcn.00429dc4
call fcn.004099c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422ba7
lea eax, [ebp - 0x1c]
call fcn.0040a350
lea eax, [ebp - 0xc]
mov edx, dword [0x422a1c]
call fcn.0040d06c
lea eax, [ebp - 8]
mov edx, dword [0x4229ec]
call fcn.0040d06c
lea eax, [ebp - 4]
call fcn.0040a350
pop eax
jmp eax
Function at 0x422c98
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.0040adb4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422d02
test ah, 4
je 0x422cfb
test bl, bl
jne 0x422cc0
mov al, 1
jmp 0x422d29
test al, 0x10
je 0x422cc8
xor eax, eax
jmp 0x422d29
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422cec
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x422d29
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x422d29
test al, 0x10
sete al
jmp 0x422d29
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x422d23
cmp ebx, 3
je 0x422d23
cmp ebx, 0x7b
je 0x422d23
mov eax, esi
call fcn.00422c58
test al, al
jne 0x422d27
xor eax, eax
jmp 0x422d29
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x422d30
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.0040adb4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x422dce
test esi, 0x400
jne 0x422d65
test esi, 0x10
setne bl
jmp 0x422dce
cmp byte [esp], 0
je 0x422d99
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422dce
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x422dce
test esi, 0x10
je 0x422da5
mov bl, 1
jmp 0x422dce
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x422dcc
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x422dce
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422f90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x423037
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040adb4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x42301a
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00421890
test al, al
je 0x42301a
mov eax, dword [ebp - 4]
call fcn.004235e0
test al, al
je 0x42300a
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00423358
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042ad60
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040b000
mov eax, dword [ebp - 4]
call fcn.0040adb4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42303e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a3b0
pop eax
jmp eax
Function at 0x429350
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 0x429477
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00429158
mov esi, eax
mov eax, dword [0x4fed70]
cmp byte [eax], 0
je 0x42941d
mov eax, dword [0x4feb8c]
call fcn.00407d04
call fcn.004070dc
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 [0x429320]
call fcn.0040cf48
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 0x429490
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x429459
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4feb44]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x502634]
call fcn.0040d4dc
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 0x42947e
lea eax, [ebp - 4]
mov edx, dword [0x429320]
call fcn.0040d06c
pop eax
jmp eax

Function at 0x42b99c
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.0040a834
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004100d4
mov edi, eax
cmp edi, 0x104
jbe 0x42b947
mov eax, edi
add eax, eax
call fcn.00406f68
mov esi, eax
jmp 0x42b949
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004100d4
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42b982
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 0x42b96c
mov eax, esp
cmp esi, eax
je 0x42b98f
mov eax, esi
call fcn.00406f84
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 0x42b9c8
cmp bl, 0
je 0x42b9c4
cmp bl, 0x41
jl 0x42b9bf
cmp bl, 0x5a
jg 0x42b9bf
or bl, 0x20
xor al, bl
inc esi
jmp 0x42b9a3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b908

Function at 0x42c2c0
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.0040ae50
add esp, 0x800
pop ebx
ret
Function at 0x42eaf0
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 0x42eb10
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42eb2a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42eb25
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42eb2f
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42eb9d
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42ebe6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42eb5b
inc dword [ebp - 0xc]
jmp 0x42eb73
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42eb73
cmp dword [ebp - 0xc], 0
jle 0x42eb73
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42eb95
xor eax, eax
jmp 0x42eb91
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42eb90
mov eax, esi
jmp 0x42ebe9
inc eax
cmp eax, ecx
jle 0x42eb7d
inc esi
cmp esi, dword [ebp - 8]
jl 0x42eb47
jmp 0x42ebe6
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42ebe6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42ebbe
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42ebe0
xor eax, eax
jmp 0x42ebdc
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42ebdb
mov eax, esi
jmp 0x42ebe9
inc eax
cmp eax, ecx
jle 0x42ebc8
inc esi
cmp esi, dword [ebp - 8]
jl 0x42eba6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42edd8
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 0x42edf7
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42ee07
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 0x42ef29
test ebx, ebx
jl 0x42ef29
test esi, esi
jle 0x42ef29
mov eax, dword [ebp - 8]
call fcn.0040adb4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040adb4
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 0x42eec6
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42ef29
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42eeab
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42ee7a
inc dword [ebp - 0x14]
jmp 0x42ee8a
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42ee8a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42ee95
or eax, 0xffffffff
jmp 0x42eeab
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42eea8
inc eax
jmp 0x42eeab
or eax, 0xffffffff
test eax, eax
jl 0x42eeb3
cmp esi, eax
jg 0x42ee68
cmp esi, eax
jg 0x42eebe
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42ef2c
inc edx
dec dword [ebp - 0x1c]
jne 0x42ee64
jmp 0x42ef29
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42ef29
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42ef10
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42eeef
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42eefa
or eax, 0xffffffff
jmp 0x42ef10
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42ef0d
inc eax
jmp 0x42ef10
or eax, 0xffffffff
test eax, eax
jl 0x42ef18
cmp esi, eax
jg 0x42eed8
cmp esi, eax
jg 0x42ef23
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42ef2c
inc edx
dec dword [ebp - 0x1c]
jne 0x42eed4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

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

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