joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4091dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00409658
mov byte [esp], al
cmp byte [esp], 0
jne 0x409365
test edi, edi
je 0x409365
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4092a5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x409280
cmp edi, 0xffffffff
je 0x409241
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409241
mov byte [esp], 0
jmp 0x409365
cmp dword [esi], 1
jg 0x409280
cmp dword [esi], 0
jne 0x409272
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x409272
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x409365
lea eax, [esp + 0xc]
call fcn.00408e9c
dec ebp
test ebp, ebp
jg 0x409226
cmp edi, 0xffffffff
je 0x4092a5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4092a3
mov byte [esp], 0
jmp 0x409365
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4091ea
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4092a5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004093d4
mov edx, eax
mov ebx, dword [0x5e28fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x409309
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x409307
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x409309
xor edi, edi
cmp byte [esp], 0
je 0x40932f
mov ebx, dword [esi]
test bl, 1
jne 0x409345
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40930f
mov byte [esp + 1], 1
jmp 0x409345
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40932f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4092bc
cmp byte [esp], 0
je 0x409365
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40a1c4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5e205c], 0
je 0x40a22b
cmp word [0x5e2348], 0xd7b2
jne 0x40a1ed
cmp dword [0x5e2350], 0
jbe 0x40a1ed
mov eax, 0x5e2344
call dword [0x5e2360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x40a258
call fcn.0040ad3c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5dc032], 0
jne 0x40a247
push 0
push 0x5dc9ca
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a3ec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x5dc034], 0
je 0x40a417
mov edx, edi
mov eax, esi
call dword [0x5dc034]
mov ebx, eax
jmp 0x40a428
mov eax, 8
call fcn.00406e94
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5e205d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a3b4
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40a458
mov eax, ebx
call fcn.00406eb0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40d128
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40d28d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a52c
cmp si, word [0x5dca08]
jb 0x40d1c0
cmp si, word [0x5dcc08]
ja 0x40d1c0
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d1c0
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x5dca08]
jae 0x40d19a
mov edi, ebx
dec edi
jmp 0x40d1bb
cmp si, word [ebx*8 + 0x5dca08]
jbe 0x40d1aa
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d1bb
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5dca0c]
call fcn.0040d048
jmp 0x40d1c0
cmp edi, dword [ebp - 8]
jae 0x40d184
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d26f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d26f
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b0dc
push dword [ebp - 0x160]
push 0x40d2a8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b0dc
push dword [ebp - 0x164]
push 0x40d2b8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b0dc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d294
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a58c
ret
Function at 0x40d440
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d544
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5e4b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5e4ba4]
jne 0x40d48c
mov eax, esi
mov edx, 0x5e4ba6
mov ecx, 0x55
call fcn.0040b0dc
push 0x5e4b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d52e
push 0x5e4b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a52c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d4fb
cmp byte [0x5e4b88], 0
je 0x40d4c0
mov edx, esi
mov eax, ebx
call fcn.0040d324
jmp 0x40d4fb
mov edx, esi
mov eax, ebx
call fcn.0040d128
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40d4fb
cmp dword [esi], 0
je 0x40d4e4
mov eax, esi
mov edx, 0x40d55c
call fcn.0040b234
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d128
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b234
push 0x5e4b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5e4ba4], bx
mov eax, dword [esi]
call fcn.0040b038
mov ecx, eax
mov eax, 0x5e4ba6
mov edx, 0xaa
call fcn.0040cfa8
push 0x5e4b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d54b
lea eax, [ebp - 4]
call fcn.0040a52c
ret
Function at 0x40d774
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a610
xor eax, eax
push ebp
push 0x40d999
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40d7b4
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40d7ce
mov eax, dword [ebp - 4]
call fcn.0040b038
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040cfa8
cmp word [ebp - 0x21a], 0
je 0x40d983
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d9a8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d89d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d9a8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d89d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d9e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d89d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40d9e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d89d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40da18
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40d89d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40da4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40d983
xor eax, eax
push ebp
push 0x40d97c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040d584
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d90c
mov eax, dword [ebp - 0x10]
call fcn.00406e94
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b0a0
jmp 0x40d957
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40da8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40d957
mov eax, dword [ebp - 0x10]
call fcn.00406e94
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40da8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b0a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d983
cmp dword [ebp - 8], 0
je 0x40d972
mov eax, dword [ebp - 8]
call fcn.00406eb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9a0
lea eax, [ebp - 4]
call fcn.0040a52c
ret
Function at 0x40dc88
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.0040a610
xor eax, eax
push ebp
push 0x40dd48
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.0040b0dc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b28c
mov eax, dword [ebx]
call fcn.0040db50
test al, al
jne 0x40dd25
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b0dc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b28c
mov eax, dword [ebx]
call fcn.0040db50
test al, al
jne 0x40dd25
mov eax, ebx
call fcn.0040a52c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd4f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a58c
lea eax, [ebp - 4]
call fcn.0040a52c
ret

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

Disassembly:
cmp eax, edx
je 0x422ead
test eax, edx
je 0x422eb0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x422e6b
movzx eax, word [eax]
sub eax, ecx
jmp 0x422e92
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 0x422e93
add ecx, 4
js 0x422e83
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x422e90
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x422e92
xor eax, eax
ret
test eax, eax
je 0x422ebc
test edx, edx
jne 0x422e5c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x424148
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 0x4242ac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4240e8]
call fcn.0040c82c
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x424118]
call fcn.0040c82c
add esp, 4
movzx ebx, byte [0x4242bc]
mov dl, 1
mov eax, esi
call fcn.004244b0
test al, al
jne 0x4241c2
mov dl, 1
mov eax, esi
call fcn.00424418
test al, al
je 0x42424c
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00424984
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042b360
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.0040b038
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x424247
test byte [ebp - 0x14], 1
je 0x424212
or bl, 1
test byte [ebp - 0x14], 2
je 0x42421b
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x424224
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x424238
dec eax
je 0x42423d
dec eax
je 0x424242
dec eax
jne 0x42426d
or bl, 0x10
jmp 0x42426d
or bl, 4
jmp 0x42426d
or bl, 8
jmp 0x42426d
call fcn.0042c164
lea edx, [ebp - 0x20]
mov eax, dword [0x5e103c]
call fcn.0040f74c
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41ce14]
call fcn.00429ca0
call fcn.00409c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4242b3
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040a58c
lea eax, [ebp - 0xc]
mov edx, dword [0x424118]
call fcn.0040c950
lea eax, [ebp - 8]
mov edx, dword [0x4240e8]
call fcn.0040c950
lea eax, [ebp - 4]
call fcn.0040a52c
ret

Function at 0x424318
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 0x424345
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x424418
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.0040b038
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x424482
test ah, 4
je 0x42447b
test bl, bl
jne 0x424440
mov al, 1
jmp 0x4244a9
test al, 0x10
je 0x424448
xor eax, eax
jmp 0x4244a9
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x42446c
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4244a9
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4244a9
test al, 0x10
sete al
jmp 0x4244a9
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x4244a3
cmp ebx, 3
je 0x4244a3
cmp ebx, 0x7b
je 0x4244a3
mov eax, esi
call fcn.004243d8
test al, al
jne 0x4244a7
xor eax, eax
jmp 0x4244a9
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x4244b0
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.0040b038
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x424557
test esi, 0x400
jne 0x4244ec
test esi, 0x10
setne bl
jmp 0x424587
cmp byte [esp], 0
je 0x424520
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x424587
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x424587
test esi, 0x10
je 0x42452c
mov bl, 1
jmp 0x424587
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x424553
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x424587
mov bl, 1
jmp 0x424587
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x424581
cmp eax, 3
je 0x424581
cmp eax, 0xa1
je 0x424581
cmp eax, 0x7b
je 0x424581
cmp eax, 0x35
je 0x424581
cmp eax, 0x15
je 0x424581
cmp eax, 0x43
jne 0x424585
xor ebx, ebx
jmp 0x424587
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4287e4
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 0x42881d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a6b4
jmp 0x428826
mov eax, ebx
mov edx, esi
call fcn.0040a90c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428830
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 0x428852
movzx eax, word [esp]
jmp 0x428854
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x429b50
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 0x429c75
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00429958
mov esi, eax
mov eax, dword [0x5e0f54]
cmp byte [eax], 0
je 0x429c1d
mov eax, dword [0x5e0c1c]
call fcn.00407be4
call fcn.00407008
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 [0x429b20]
call fcn.0040c82c
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 0x429c90
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x429c59
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5e0b94]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5e55a0]
call fcn.0040cc4c
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 0x429c7c
lea eax, [ebp - 4]
mov edx, dword [0x429b20]
call fcn.0040c950
ret

Function at 0x42ad0c
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 0x42ade2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a954
lea eax, [ebp - 4]
call fcn.0040aac8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b038
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42adcc
mov eax, ebx
call fcn.00406e94
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42adc5
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.0040b038
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42adaf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42adf4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42adaf
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 0x42adcc
mov eax, dword [ebp - 0x10]
call fcn.00406eb0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ade9
lea eax, [ebp - 4]
call fcn.0040a52c
ret
Function at 0x42adf8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42aef8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a954
lea eax, [ebp - 4]
call fcn.0040aac8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b038
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42aee2
mov eax, ebx
call fcn.00406e94
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42aedb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b038
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42aec5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42af0c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42aec5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aee2
mov eax, dword [ebp - 0x10]
call fcn.00406eb0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aeff
lea eax, [ebp - 4]
call fcn.0040a52c
ret

Function at 0x42bfa4
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.0040aa08
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f7e0
mov edi, eax
cmp edi, 0x104
jbe 0x42bf4f
mov eax, edi
add eax, eax
call fcn.00406e94
mov esi, eax
jmp 0x42bf51
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040f7e0
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42bf8a
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 0x42bf74
mov eax, esp
cmp esi, eax
je 0x42bf97
mov eax, esi
call fcn.00406eb0
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 0x42bfd0
cmp bl, 0
je 0x42bfcc
cmp bl, 0x41
jl 0x42bfc7
cmp bl, 0x5a
jg 0x42bfc7
or bl, 0x20
xor al, bl
inc esi
jmp 0x42bfab
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42bf10

Function at 0x42c84c
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.0040b0dc
add esp, 0x800
pop ebx
ret