joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d018
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.00409b0c
xor eax, eax
push ebp
push 0x40d0d8
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.0040a888
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aa38
mov eax, dword [ebx]
call fcn.0040cee0
test al, al
jne 0x40d0b5
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a888
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aa38
mov eax, dword [ebx]
call fcn.0040cee0
test al, al
jne 0x40d0b5
mov eax, ebx
call fcn.00409a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0df
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409a88
lea eax, [ebp - 4]
call fcn.00409a28
ret

Function at 0x422438
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
Function at 0x422660
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42289d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00409a28
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
test ebx, ebx
jne 0x422737
cmp dword [ebp - 0x14], 0
jne 0x422737
xor edx, edx
mov eax, 6
call fcn.0042b318
test al, al
je 0x422737
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x422737
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a888
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00422438
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00409e08
mov byte [ebp - 9], 1
jmp 0x42287f
test ebx, ebx
jne 0x422745
cmp dword [ebp - 0x14], 0
je 0x422833
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x422833
xor eax, eax
push ebp
push 0x42282c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x422815
xor eax, eax
push ebp
push 0x42280e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.00414110
test eax, eax
jbe 0x4227f7
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a888
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00422438
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00409e08
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422815
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422833
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x42287f
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.00422574
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00409e08
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x42287f
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00422438
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00409e08
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4228a4
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00409a88
ret
Function at 0x4228b0
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.0042b318
test al, al
je 0x422978
xor edx, edx
mov eax, ebx
call fcn.004242e0
test al, al
je 0x422978
mov eax, ebx
call fcn.00424010
test al, 0x20
je 0x422978
mov eax, ebx
call fcn.0040a7cc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422978
test ah, 4
je 0x422978
test al, 0x10
je 0x422917
mov edi, 0x2000000
jmp 0x422919
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040a7cc
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x422978
xor eax, eax
push ebp
push 0x422971
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00422660
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422978
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x422c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x422cc9
test eax, edx
je 0x422ccc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422c87
movzx eax, word [eax]
sub eax, ecx
jmp 0x422cae
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 [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x422caf
add ecx, 4
js 0x422c9f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x422cac
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x422cae
xor eax, eax
ret
test eax, eax
je 0x422cd8
test edx, edx
jne 0x422c78
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x424010
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 ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x424174
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x423fb0]
call fcn.0040bdac
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x423fe0]
call fcn.0040bdac
add esp, 4
movzx ebx, byte [0x424184]
mov dl, 1
mov eax, esi
call fcn.00424378
test al, al
jne 0x42408a
mov dl, 1
mov eax, esi
call fcn.004242e0
test al, al
je 0x424114
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00424998
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042b874
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.0040a7cc
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x42410f
test byte [ebp - 0x14], 1
je 0x4240da
or bl, 1
test byte [ebp - 0x14], 2
je 0x4240e3
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x4240ec
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x424100
dec eax
je 0x424105
dec eax
je 0x42410a
dec eax
jne 0x424135
or bl, 0x10
jmp 0x424135
or bl, 4
jmp 0x424135
or bl, 8
jmp 0x424135
call fcn.0042c050
lea edx, [ebp - 0x20]
mov eax, dword [0x703b40]
call fcn.0040d9b8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41c7ac]
call fcn.0042a0a0
call fcn.004090e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42417b
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00409a88
lea eax, [ebp - 0xc]
mov edx, dword [0x423fe0]
call fcn.0040bed0
lea eax, [ebp - 8]
mov edx, dword [0x423fb0]
call fcn.0040bed0
lea eax, [ebp - 4]
call fcn.00409a28
ret

Function at 0x4241e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x42420d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4242e0
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.0040a7cc
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42434a
test ah, 4
je 0x424343
test bl, bl
jne 0x424308
mov al, 1
jmp 0x424371
test al, 0x10
je 0x424310
xor eax, eax
jmp 0x424371
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x424334
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x424371
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x424371
test al, 0x10
sete al
jmp 0x424371
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x42436b
cmp ebx, 3
je 0x42436b
cmp ebx, 0x7b
je 0x42436b
mov eax, esi
call fcn.004242a0
test al, al
jne 0x42436f
xor eax, eax
jmp 0x424371
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x424378
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.0040a7cc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42441f
test esi, 0x400
jne 0x4243b4
test esi, 0x10
setne bl
jmp 0x42444f
cmp byte [esp], 0
je 0x4243e8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x42444f
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x42444f
test esi, 0x10
je 0x4243f4
mov bl, 1
jmp 0x42444f
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x42441b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x42444f
mov bl, 1
jmp 0x42444f
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x424449
cmp eax, 3
je 0x424449
cmp eax, 0xa1
je 0x424449
cmp eax, 0x7b
je 0x424449
cmp eax, 0x35
je 0x424449
cmp eax, 0x15
je 0x424449
cmp eax, 0x43
jne 0x42444d
xor ebx, ebx
jmp 0x42444f
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x424458
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 0x4244fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040a7cc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x4244e2
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.004228b0
test al, al
je 0x4244e2
mov eax, dword [ebp - 4]
call fcn.00424b80
test al, al
je 0x4244d2
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004248e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042b874
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040aa38
mov eax, dword [ebp - 4]
call fcn.0040a7cc
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 0x424504
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00409a88
ret
Function at 0x424510
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 0x4245e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409e50
cmp byte [ebp - 9], 0
je 0x4245a1
mov eax, ebx
call fcn.0040a7cc
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x4245a1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004228b0
test al, al
je 0x4245a1
mov eax, dword [ebp - 8]
call fcn.00424b80
test al, al
je 0x424596
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004248e0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042b874
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040aa38
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00409e50
push edi
mov eax, dword [ebp - 4]
call fcn.0040a7cc
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x4245bb
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4245ea
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409a88
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409a88
ret

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

Function at 0x428d70
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_1
test eax, eax
jle 0x428da9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409bb0
jmp 0x428db2
mov eax, ebx
mov edx, esi
call fcn.00409e08
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428dbc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x428dde
movzx eax, word [esp]
jmp 0x428de0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x429f30
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 0x42a055
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00429d38
mov esi, eax
mov eax, dword [0x7039d8]
cmp byte [eax], 0
je 0x429ffd
mov eax, dword [0x703438]
call fcn.0040757c
call fcn.004069d0
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x429f00]
call fcn.0040bdac
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42a070
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42a039
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x703364]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x706c54]
call fcn.0040bfd8
push eax
call sub.user32.dll_LoadStringW_1
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 0x42a05c
lea eax, [ebp - 4]
mov edx, dword [0x429f00]
call fcn.0040bed0
ret

Function at 0x42b338
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 0x42b40e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409e50
lea eax, [ebp - 4]
call fcn.00409ff0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a7cc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42b3f8
mov eax, ebx
call fcn.0040685c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42b3f1
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.0040a7cc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42b3db
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42b420
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42b3db
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 0x42b3f8
mov eax, dword [ebp - 0x10]
call fcn.00406878
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b415
lea eax, [ebp - 4]
call fcn.00409a28
ret
Function at 0x42bea0
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.00409f30
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040da4c
mov edi, eax
cmp edi, 0x104
jbe 0x42be4b
mov eax, edi
add eax, eax
call fcn.0040685c
mov esi, eax
jmp 0x42be4d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040da4c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42be86
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 0x42be70
mov eax, esp
cmp esi, eax
je 0x42be93
mov eax, esi
call fcn.00406878
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 0x42becc
cmp bl, 0
je 0x42bec8
cmp bl, 0x41
jl 0x42bec3
cmp bl, 0x5a
jg 0x42bec3
or bl, 0x20
xor al, bl
inc esi
jmp 0x42bea7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42be0c

Function at 0x42c738
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_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a888
add esp, 0x800
pop ebx
ret
Function at 0x488e6c
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 0x488e74
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c3d9c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c3e3a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c3dfe
cmp byte [ebx + 0x11], 0
jne 0x4c3dfe
cmp byte [ebx + 0x3c], 0
jne 0x4c3dfe
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c3e1f
lea edx, [ebp - 4]
mov eax, dword [0x703914]
call fcn.0040d9b8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4975d4]
call fcn.0042a0a0
call fcn.004090e8
jmp 0x4c3e1f
lea edx, [ebp - 8]
mov eax, dword [0x703914]
call fcn.0040d9b8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4975d4]
call fcn.0042a0a0
call fcn.004090e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3e41
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409a88
ret

Function at 0x4c47d8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c4826
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c3c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c483f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c4848
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c3c1c
dec esi
jne 0x4c486a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4c7038
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x709444
cmp dword [edi], 0
jne 0x4c70b4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x709440]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6f7b5c
mov ecx, 2
call fcn.00406a2c
mov edx, 0x4c7010
lea eax, [esi + 5]
call fcn.004c7030
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c7030
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4c7089
mov dword [0x709440], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8