joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426200
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 0x426355
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 0x42632d
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 0x426316
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040b35c
mov eax, dword [ebp - 4]
test eax, eax
je 0x426293
mov eax, dword [eax - 4]
mov esi, eax
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b7d4
dec eax
jne 0x426316
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.004313a4
test al, al
je 0x4262bb
mov al, 1
jmp 0x4262ca
mov eax, dword [ebp - 8]
test eax, eax
je 0x4262c5
mov eax, dword [eax - 4]
cmp eax, esi
sete al
test al, al
je 0x426316
mov edi, dword [ebp - 8]
test edi, edi
je 0x4262d8
mov edi, dword [edi - 4]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.0040b680
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040b320
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040b510
jmp 0x42632d
add ebx, 2
cmp word [ebx], 0
jne 0x426313
add ebx, 4
test ebx, ebx
je 0x426327
cmp word [ebx], 0
jne 0x426252
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42635c
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.0040a8bc
lea eax, [ebp - 4]
call fcn.0040a85c
pop eax
jmp eax
Function at 0x42670c
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.00430f34
test al, al
je 0x4267d6
xor edx, edx
mov eax, ebx
call fcn.0042806c
test al, al
je 0x4267d6
mov eax, ebx
call fcn.00427e20
test al, 0x20
je 0x4267d6
mov eax, ebx
call fcn.0040b2c0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4267d6
test ah, 4
je 0x4267d6
test al, 0x10
je 0x426773
mov edi, 0x2000000
jmp 0x426775
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040b2c0
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4267d6
xor eax, eax
push ebp
push 0x4267cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00426450
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4267d6
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 0x426a78
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x426ad1
test eax, edx
je 0x426ad4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x426a8f
movzx eax, word [eax]
sub eax, ecx
jmp 0x426ab6
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 0x426ab7
add ecx, 4
js 0x426aa7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x426ab4
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x426ab6
xor eax, eax
ret
test eax, eax
je 0x426ae0
test edx, edx
jne 0x426a80
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x427ccc
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 0x427dad
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x427d90
test edi, edi
je 0x427d90
xor edx, edx
mov eax, 6
call fcn.00430f34
test al, al
je 0x427d90
lea edx, [ebp - 4]
mov eax, edi
call fcn.00428764
mov eax, dword [ebp - 4]
call fcn.00427e20
test al, 0x20
je 0x427d90
mov eax, esi
call fcn.00428a24
test al, al
je 0x427d56
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043144c
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040b4b8
mov eax, dword [ebp - 8]
call fcn.0040b2c0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x427d65
mov eax, esi
call fcn.0040b2c0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x427d76
test bl, 0x10
je 0x427d76
mov ebx, 1
jmp 0x427d78
xor ebx, ebx
push ebx
mov eax, esi
call fcn.0040b2c0
push eax
mov eax, edi
call fcn.0040b2c0
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 0x427db4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8bc
pop eax
jmp eax

Function at 0x427e20
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 0x427f74
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x427dc0]
call fcn.0040d9d0
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x427df0]
call fcn.0040d9d0
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00428104
test al, al
jne 0x427e96
mov dl, 1
mov eax, esi
call fcn.0042806c
test al, al
je 0x427f20
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.004288a0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0043144c
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.0040b2c0
mov edi, eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x427f1b
test byte [ebp - 0x14], 1
je 0x427ee6
or bl, 1
test byte [ebp - 0x14], 2
je 0x427eef
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x427ef8
or bl, 0x20
push edi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x427f0c
dec eax
je 0x427f11
dec eax
je 0x427f16
dec eax
jne 0x427f38
or bl, 0x10
jmp 0x427f38
or bl, 4
jmp 0x427f38
or bl, 8
jmp 0x427f38
call fcn.00432294
push esi
mov ecx, dword [0x69eb24]
mov dl, 1
mov eax, dword [0x420054]
call fcn.00430134
call fcn.00409f44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427f7b
lea eax, [ebp - 0x1c]
call fcn.0040a85c
lea eax, [ebp - 0xc]
mov edx, dword [0x427df0]
call fcn.0040daf4
lea eax, [ebp - 8]
mov edx, dword [0x427dc0]
call fcn.0040daf4
lea eax, [ebp - 4]
call fcn.0040a85c
pop eax
jmp eax
Function at 0x42806c
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.0040b2c0
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4280d6
test ah, 4
je 0x4280cf
test bl, bl
jne 0x428094
mov al, 1
jmp 0x4280fd
test al, 0x10
je 0x42809c
xor eax, eax
jmp 0x4280fd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4280c0
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x4280fd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4280fd
test al, 0x10
sete al
jmp 0x4280fd
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4280f7
cmp ebx, 3
je 0x4280f7
cmp ebx, 0x7b
je 0x4280f7
mov eax, esi
call fcn.0042802c
test al, al
jne 0x4280fb
xor eax, eax
jmp 0x4280fd
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x428104
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.0040b2c0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4281a2
test esi, 0x400
jne 0x428139
test esi, 0x10
setne bl
jmp 0x4281a2
cmp byte [esp], 0
je 0x42816d
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4281a2
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x4281a2
test esi, 0x10
je 0x428179
mov bl, 1
jmp 0x4281a2
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4281a0
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x4281a2
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x428360
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 0x428407
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b2c0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x4283ea
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0042670c
test al, al
je 0x4283ea
mov eax, dword [ebp - 4]
call fcn.00428a24
test al, al
je 0x4283da
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00428764
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0043144c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040b510
mov eax, dword [ebp - 4]
call fcn.0040b2c0
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 0x42840e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a8bc
pop eax
jmp eax
Function at 0x428418
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4284ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040ac94
cmp byte [ebp - 9], 0
je 0x4284a9
mov eax, ebx
call fcn.0040b2c0
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x4284a9
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0042670c
test al, al
je 0x4284a9
mov eax, dword [ebp - 8]
call fcn.00428a24
test al, al
je 0x42849e
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00428764
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0043144c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040b510
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040ac94
push edi
mov eax, dword [ebp - 4]
call fcn.0040b2c0
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x4284c3
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4284f4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a8bc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8bc
pop eax
jmp eax

Function at 0x42862c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040b2c0
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x428681
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42867b
test ah, 4
je 0x42867b
test al, 0x10
je 0x42867b
mov eax, esi
call fcn.0040b2c0
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x428681
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42d890
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 0x42d8c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a9f4
jmp 0x42d8d2
mov eax, ebx
mov edx, esi
call fcn.0040ac4c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42d8dc
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 0x42d900
movzx eax, word [esp]
jmp 0x42d902
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42f5f8
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 0x42f71f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042f400
mov esi, eax
mov eax, dword [0x69ea08]
cmp byte [eax], 0
je 0x42f6c5
mov eax, dword [0x69e624]
call fcn.0040807c
call fcn.0040704c
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 [0x42f5c8]
call fcn.0040d9d0
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 0x42f738
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42f701
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x69e574]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6a263c]
call fcn.0040e244
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 0x42f726
lea eax, [ebp - 4]
mov edx, dword [0x42f5c8]
call fcn.0040daf4
pop eax
jmp eax
Function at 0x430c84
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 0x430cc7
mov eax, dword [ebp - 0x10c]
mov dword [0x6a2900], eax
mov eax, 0x6a2904
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040b35c
mov eax, 0x6a2908
call fcn.0040a85c
xor eax, eax
mov dword [0x6a290c], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x6a27c4], 0xa
jl 0x430e1d
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x430e28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x430e1d
xor eax, eax
push ebp
push 0x430e16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430e84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430d76
cmp dword [ebp - 8], 2
jle 0x430d76
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430d49
adc edx, 0
mov eax, 0x6a2908
call fcn.0040b434
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6a2908]
call fcn.0040b2c0
push eax
push 0
push 0
push 0x430e84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x430dd0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430ea4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430dd0
cmp dword [ebp - 8], 2
jle 0x430dd0
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430da5
adc edx, 0
mov eax, 0x6a2908
call fcn.0040b434
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6a2908]
call fcn.0040b2c0
push eax
push 0
push 0
push 0x430ea4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x6a290c
push 0
push 0
push 0x430eb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x430dfd
xor eax, eax
mov dword [0x6a290c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430e1d
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x696770], 1
mov esp, ebp
pop ebp
ret
Function at 0x430f60
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 0x43103a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040ac94
lea eax, [ebp - 4]
call fcn.0040adb0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b2c0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x431022
mov eax, ebx
call fcn.00406ed4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43101b
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.0040b2c0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x431003
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x43104c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x431003
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 0x431022
mov eax, dword [ebp - 0x10]
call fcn.00406ef0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431041
lea eax, [ebp - 4]
call fcn.0040a85c
pop eax
jmp eax

Function at 0x4320cc
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.0040ad3c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410f64
mov edi, eax
cmp edi, 0x104
jbe 0x432077
mov eax, edi
add eax, eax
call fcn.00406ed4
mov esi, eax
jmp 0x432079
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00410f64
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4320b2
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 0x43209c
mov eax, esp
cmp esi, eax
je 0x4320bf
mov eax, esi
call fcn.00406ef0
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 0x4320f8
cmp bl, 0
je 0x4320f4
cmp bl, 0x41
jl 0x4320ef
cmp bl, 0x5a
jg 0x4320ef
or bl, 0x20
xor al, bl
inc esi
jmp 0x4320d3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x432038

Function at 0x432a34
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.0040b35c
add esp, 0x800
pop ebx
ret
Function at 0x435590
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 0x4355ae
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x4355c6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x4355c1
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x4355cb
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x435639
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x435682
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4355f7
inc dword [ebp - 0xc]
jmp 0x43560f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x43560f
cmp dword [ebp - 0xc], 0
jle 0x43560f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x435631
xor eax, eax
jmp 0x43562d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43562c
mov eax, esi
jmp 0x435685
inc eax
cmp eax, ecx
jle 0x435619
inc esi
cmp esi, dword [ebp - 8]
jl 0x4355e3
jmp 0x435682
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x435682
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43565a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x43567c
xor eax, eax
jmp 0x435678
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x435677
mov eax, esi
jmp 0x435685
inc eax
cmp eax, ecx
jle 0x435664
inc esi
cmp esi, dword [ebp - 8]
jl 0x435642
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435ab0
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 0x435acd
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x435adb
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x435bfd
test ebx, ebx
jl 0x435bfd
test esi, esi
jle 0x435bfd
mov eax, dword [ebp - 8]
call fcn.0040b2c0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040b2c0
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 0x435b9a
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x435bfd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x435b7f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x435b4e
inc dword [ebp - 0x14]
jmp 0x435b5e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x435b5e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x435b69
or eax, 0xffffffff
jmp 0x435b7f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x435b7c
inc eax
jmp 0x435b7f
or eax, 0xffffffff
test eax, eax
jl 0x435b87
cmp esi, eax
jg 0x435b3c
cmp esi, eax
jg 0x435b92
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x435c00
inc edx
dec dword [ebp - 0x1c]
jne 0x435b38
jmp 0x435bfd
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x435bfd
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x435be4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x435bc3
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x435bce
or eax, 0xffffffff
jmp 0x435be4
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x435be1
inc eax
jmp 0x435be4
or eax, 0xffffffff
test eax, eax
jl 0x435bec
cmp esi, eax
jg 0x435bac
cmp esi, eax
jg 0x435bf7
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x435c00
inc edx
dec dword [ebp - 0x1c]
jne 0x435ba8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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