joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426978
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 0x426aa8
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 0x426a80
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 0x426a69
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040c1dc
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040c658
test eax, eax
jle 0x426a69
mov eax, dword [ebp - 4]
test eax, eax
je 0x426a1d
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x426a2b
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.0040c4fc
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040c188
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040c38c
jmp 0x426a80
add ebx, 2
cmp word [ebx], 0
jne 0x426a66
add ebx, 4
test ebx, ebx
je 0x426a7a
cmp word [ebx], 0
jne 0x4269ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426aaf
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.0040b5f0
lea eax, [ebp - 4]
call fcn.0040b590
pop eax
jmp eax
Function at 0x426e5c
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.00430e5c
test al, al
je 0x426f26
xor edx, edx
mov eax, ebx
call fcn.00428b40
test al, al
je 0x426f26
mov eax, ebx
call fcn.00428710
test al, 0x20
je 0x426f26
mov eax, ebx
call fcn.0040c128
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426f26
test ah, 4
je 0x426f26
test al, 0x10
je 0x426ec3
mov edi, 0x2000000
jmp 0x426ec5
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040c128
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x426f26
xor eax, eax
push ebp
push 0x426f1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00426ba4
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426f26
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 0x42721c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x427275
test eax, edx
je 0x427278
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x427233
movzx eax, word [eax]
sub eax, ecx
jmp 0x42725a
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 0x42725b
add ecx, 4
js 0x42724b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x427258
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42725a
xor eax, eax
ret
test eax, eax
je 0x427284
test edx, edx
jne 0x427224
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4285bc
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 0x42869d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x428680
test edi, edi
je 0x428680
xor edx, edx
mov eax, 6
call fcn.00430e5c
test al, al
je 0x428680
lea edx, [ebp - 4]
mov eax, edi
call fcn.00429318
mov eax, dword [ebp - 4]
call fcn.00428710
test al, 0x20
je 0x428680
mov eax, esi
call fcn.004295dc
test al, al
je 0x428646
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043138c
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040c334
mov eax, dword [ebp - 8]
call fcn.0040c128
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x428655
mov eax, esi
call fcn.0040c128
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428666
test bl, 0x10
je 0x428666
mov ebx, 1
jmp 0x428668
xor ebx, ebx
push ebx
mov eax, esi
call fcn.0040c128
push eax
mov eax, edi
call fcn.0040c128
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 0x4286a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b5f0
pop eax
jmp eax

Function at 0x428710
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 0x428864
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4286b0]
call fcn.0040e4f0
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4286e0]
call fcn.0040e4f0
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00428bd8
test al, al
jne 0x428786
mov dl, 1
mov eax, esi
call fcn.00428b40
test al, al
je 0x428810
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00429458
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0043138c
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.0040c128
mov edi, eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x42880b
test byte [ebp - 0x14], 1
je 0x4287d6
or bl, 1
test byte [ebp - 0x14], 2
je 0x4287df
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x4287e8
or bl, 0x20
push edi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x4287fc
dec eax
je 0x428801
dec eax
je 0x428806
dec eax
jne 0x428828
or bl, 0x10
jmp 0x428828
or bl, 4
jmp 0x428828
or bl, 8
jmp 0x428828
call fcn.004321e8
push esi
mov ecx, dword [0x683518]
mov dl, 1
mov eax, dword [0x420bf4]
call fcn.0043002c
call fcn.0040ac4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42886b
lea eax, [ebp - 0x1c]
call fcn.0040b590
lea eax, [ebp - 0xc]
mov edx, dword [0x4286e0]
call fcn.0040e614
lea eax, [ebp - 8]
mov edx, dword [0x4286b0]
call fcn.0040e614
lea eax, [ebp - 4]
call fcn.0040b590
pop eax
jmp eax
Function at 0x428b40
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.0040c128
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428baa
test ah, 4
je 0x428ba3
test bl, bl
jne 0x428b68
mov al, 1
jmp 0x428bd1
test al, 0x10
je 0x428b70
xor eax, eax
jmp 0x428bd1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428b94
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x428bd1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x428bd1
test al, 0x10
sete al
jmp 0x428bd1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x428bcb
cmp ebx, 3
je 0x428bcb
cmp ebx, 0x7b
je 0x428bcb
mov eax, esi
call fcn.00428b00
test al, al
jne 0x428bcf
xor eax, eax
jmp 0x428bd1
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x428bd8
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.0040c128
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x428c76
test esi, 0x400
jne 0x428c0d
test esi, 0x10
setne bl
jmp 0x428c76
cmp byte [esp], 0
je 0x428c41
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428c76
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x428c76
test esi, 0x10
je 0x428c4d
mov bl, 1
jmp 0x428c76
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428c74
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x428c76
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x428e38
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 0x428edf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040c128
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x428ec2
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00426e5c
test al, al
je 0x428ec2
mov eax, dword [ebp - 4]
call fcn.004295dc
test al, al
je 0x428eb2
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00429318
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0043138c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040c38c
mov eax, dword [ebp - 4]
call fcn.0040c128
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 0x428ee6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b5f0
pop eax
jmp eax
Function at 0x428ef0
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 0x428fc5
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b9c8
cmp byte [ebp - 9], 0
je 0x428f81
mov eax, ebx
call fcn.0040c128
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x428f81
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00426e5c
test al, al
je 0x428f81
mov eax, dword [ebp - 8]
call fcn.004295dc
test al, al
je 0x428f76
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00429318
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0043138c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040c38c
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b9c8
push edi
mov eax, dword [ebp - 4]
call fcn.0040c128
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x428f9b
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428fcc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b5f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b5f0
pop eax
jmp eax

Function at 0x429104
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.0040c128
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x429159
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x429153
test ah, 4
je 0x429153
test al, 0x10
je 0x429153
mov eax, esi
call fcn.0040c128
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x429159
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42dfcc
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 0x42e005
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040b728
jmp 0x42e00e
mov eax, ebx
mov edx, esi
call fcn.0040b980
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42e018
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 0x42e03c
movzx eax, word [esp]
jmp 0x42e03e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42f758
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 0x42f87f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042f560
mov esi, eax
mov eax, dword [0x6833f0]
cmp byte [eax], 0
je 0x42f825
mov eax, dword [0x683008]
call fcn.00408144
call fcn.00407178
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 [0x42f728]
call fcn.0040e4f0
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 0x42f898
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42f861
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x682f54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x687634]
call fcn.0040eabc
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 0x42f886
lea eax, [ebp - 4]
mov edx, dword [0x42f728]
call fcn.0040e614
pop eax
jmp eax
Function at 0x430b78
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 0x430bbb
mov eax, dword [ebp - 0x10c]
mov dword [0x687950], eax
mov eax, 0x687954
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040c1dc
mov eax, 0x687958
call fcn.0040b590
xor eax, eax
mov dword [0x68795c], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x687814], 0xa
jl 0x430d11
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x430d1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x430d11
xor eax, eax
push ebp
push 0x430d0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430d78
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430c6a
cmp dword [ebp - 8], 2
jle 0x430c6a
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430c3d
adc edx, 0
mov eax, 0x687958
call fcn.0040c2b4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x687958]
call fcn.0040c128
push eax
push 0
push 0
push 0x430d78
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x430cc4
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430d98
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430cc4
cmp dword [ebp - 8], 2
jle 0x430cc4
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430c99
adc edx, 0
mov eax, 0x687958
call fcn.0040c2b4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x687958]
call fcn.0040c128
push eax
push 0
push 0
push 0x430d98
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x68795c
push 0
push 0
push 0x430dac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x430cf1
xor eax, eax
mov dword [0x68795c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430d11
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x67b730], 1
mov esp, ebp
pop ebp
ret
Function at 0x430e88
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 0x430f62
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b9c8
lea eax, [ebp - 4]
call fcn.0040bb6c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c128
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x430f4a
mov eax, ebx
call fcn.00407004
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x430f43
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.0040c128
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x430f2b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x430f74
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x430f2b
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 0x430f4a
mov eax, dword [ebp - 0x10]
call fcn.00407020
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430f69
lea eax, [ebp - 4]
call fcn.0040b590
pop eax
jmp eax

Function at 0x432030
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.0040baac
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00411748
mov edi, eax
cmp edi, 0x104
jbe 0x431fdb
mov eax, edi
add eax, eax
call fcn.00407004
mov esi, eax
jmp 0x431fdd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00411748
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x432016
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 0x432000
mov eax, esp
cmp esi, eax
je 0x432023
mov eax, esi
call fcn.00407020
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 0x43205c
cmp bl, 0
je 0x432058
cmp bl, 0x41
jl 0x432053
cmp bl, 0x5a
jg 0x432053
or bl, 0x20
xor al, bl
inc esi
jmp 0x432037
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x431f9c

Function at 0x432974
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.0040c1dc
add esp, 0x800
pop ebx
ret
Function at 0x435434
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 0x435454
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x43546e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x435469
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x435473
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x4354e1
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x43552a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43549f
inc dword [ebp - 0xc]
jmp 0x4354b7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x4354b7
cmp dword [ebp - 0xc], 0
jle 0x4354b7
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4354d9
xor eax, eax
jmp 0x4354d5
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4354d4
mov eax, esi
jmp 0x43552d
inc eax
cmp eax, ecx
jle 0x4354c1
inc esi
cmp esi, dword [ebp - 8]
jl 0x43548b
jmp 0x43552a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x43552a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x435502
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x435524
xor eax, eax
jmp 0x435520
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43551f
mov eax, esi
jmp 0x43552d
inc eax
cmp eax, ecx
jle 0x43550c
inc esi
cmp esi, dword [ebp - 8]
jl 0x4354ea
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435764
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 0x435783
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x435793
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 0x4358b5
test ebx, ebx
jl 0x4358b5
test esi, esi
jle 0x4358b5
mov eax, dword [ebp - 8]
call fcn.0040c128
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040c128
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 0x435852
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x4358b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x435837
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x435806
inc dword [ebp - 0x14]
jmp 0x435816
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x435816
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x435821
or eax, 0xffffffff
jmp 0x435837
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x435834
inc eax
jmp 0x435837
or eax, 0xffffffff
test eax, eax
jl 0x43583f
cmp esi, eax
jg 0x4357f4
cmp esi, eax
jg 0x43584a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x4358b8
inc edx
dec dword [ebp - 0x1c]
jne 0x4357f0
jmp 0x4358b5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x4358b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x43589c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43587b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x435886
or eax, 0xffffffff
jmp 0x43589c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x435899
inc eax
jmp 0x43589c
or eax, 0xffffffff
test eax, eax
jl 0x4358a4
cmp esi, eax
jg 0x435864
cmp esi, eax
jg 0x4358af
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x4358b8
inc edx
dec dword [ebp - 0x1c]
jne 0x435860
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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