joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409020
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 0x409123
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e0b51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4e0b6a]
jne 0x40906c
mov eax, esi
mov edx, 0x4e0b6c
mov ecx, 0x55
call fcn.004076b8
push 0x4e0b51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40910d
push 0x4e0b51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406cb4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4090db
cmp byte [0x4e0b50], 0
je 0x4090a0
mov edx, esi
mov eax, ebx
call fcn.00408f04
jmp 0x4090db
mov edx, esi
mov eax, ebx
call fcn.00408d08
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4090db
cmp dword [esi], 0
je 0x4090c4
mov eax, esi
mov edx, 0x40913c
call fcn.00407810
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408d08
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407810
push 0x4e0b51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4e0b6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.0040762c
push eax
push 0x4e0b6c
call sub.kernel32.dll_lstrcpynW
push 0x4e0b51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40912a
lea eax, [ebp - 4]
call fcn.00406cb4
ret
Function at 0x409358
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.00406d98
xor eax, eax
push ebp
push 0x40957d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409398
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4093b2
push 0x105
mov eax, dword [ebp - 4]
call fcn.0040762c
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409567
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40958c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409481
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40958c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409481
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409481
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409481
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409481
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409630
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409567
xor eax, eax
push ebp
push 0x409560
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409164
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 0x4094f0
mov eax, dword [ebp - 0x10]
call fcn.004043b8
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.0040767c
jmp 0x40953b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409670
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40953b
mov eax, dword [ebp - 0x10]
call fcn.004043b8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409670
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040767c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409567
cmp dword [ebp - 8], 0
je 0x409556
mov eax, dword [ebp - 8]
call fcn.004043d4
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 0x409584
lea eax, [ebp - 4]
call fcn.00406cb4
ret
Function at 0x4098bc
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.00406d98
xor eax, eax
push ebp
push 0x40997c
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
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.004076b8
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407868
mov eax, dword [ebx]
call fcn.00409784
test al, al
jne 0x409959
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004076b8
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407868
mov eax, dword [ebx]
call fcn.00409784
test al, al
jne 0x409959
mov eax, ebx
call fcn.00406cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409983
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406d14
lea eax, [ebp - 4]
call fcn.00406cb4
ret

Function at 0x40a268
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 0x41b660
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 0x41b789
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 0x41b763
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 0x41b74c
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.004076b8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407b44
test eax, eax
jle 0x41b74c
mov eax, dword [ebp - 4]
test eax, eax
je 0x41b700
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41b70e
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.004079d8
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040767c
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00407868
jmp 0x41b763
add ebx, 2
cmp word [ebx], 0
jne 0x41b749
add ebx, 4
test ebx, ebx
je 0x41b75d
cmp word [ebx], 0
jne 0x41b6b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b790
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00406d14
lea eax, [ebp - 4]
call fcn.00406cb4
ret
Function at 0x41b87c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], 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 0x41ba38
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00406cb4
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
test eax, eax
jne 0x41b8e0
cmp dword [ebp - 0x14], 0
je 0x41b9ce
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 0x41b9ce
xor eax, eax
push ebp
push 0x41b9c7
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 0x41b9b0
xor eax, eax
push ebp
push 0x41b9a9
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.0040d4c8
test eax, eax
jbe 0x41b992
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.004076b8
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041b660
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00407074
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b9b0
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 0x41b9ce
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x41ba1a
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0041b798
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00407074
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41ba1a
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041b660
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.00407074
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ba3f
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.00406d14
ret
Function at 0x41ba48
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.004224bc
test al, al
je 0x41baf0
mov eax, ebx
call fcn.0040762c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41baf0
test ah, 4
je 0x41baf0
test al, 0x10
je 0x41ba8f
mov edi, 0x2000000
jmp 0x41ba91
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040762c
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41baf0
xor eax, eax
push ebp
push 0x41bae9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041b87c
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41baf0
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 0x41bc34
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41bc8d
test eax, edx
je 0x41bc90
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41bc4b
movzx eax, word [eax]
sub eax, ecx
jmp 0x41bc72
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 0x41bc73
add ecx, 4
js 0x41bc63
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41bc70
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41bc72
xor eax, eax
ret
test eax, eax
je 0x41bc9c
test edx, edx
jne 0x41bc3c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41caec
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.0040762c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41cb56
test ah, 4
je 0x41cb4f
test bl, bl
jne 0x41cb14
mov al, 1
jmp 0x41cb7d
test al, 0x10
je 0x41cb1c
xor eax, eax
jmp 0x41cb7d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41cb40
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41cb7d
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41cb7d
test al, 0x10
sete al
jmp 0x41cb7d
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41cb77
cmp ebx, 3
je 0x41cb77
cmp ebx, 0x7b
je 0x41cb77
mov eax, esi
call fcn.0041caac
test al, al
jne 0x41cb7b
xor eax, eax
jmp 0x41cb7d
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41cb84
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.0040762c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41cc2b
test esi, 0x400
jne 0x41cbc0
test esi, 0x10
setne bl
jmp 0x41cc45
cmp byte [esp], 0
je 0x41cbf4
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41cc45
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41cc45
test esi, 0x10
je 0x41cc00
mov bl, 1
jmp 0x41cc45
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41cc27
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41cc45
mov bl, 1
jmp 0x41cc45
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x41cc3f
cmp eax, 3
je 0x41cc3f
cmp eax, 0x7b
jne 0x41cc43
xor ebx, ebx
jmp 0x41cc45
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41cd4c
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 0x41cdf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040762c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x41cdd6
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041ba48
test al, al
je 0x41cdd6
mov eax, dword [ebp - 4]
call fcn.0041d178
test al, al
je 0x41cdc6
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0041cfb4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004229a4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00407868
mov eax, dword [ebp - 4]
call fcn.0040762c
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 0x41cdf8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406d14
ret

Function at 0x420620
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 0x420659
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406e1c
jmp 0x420662
mov eax, ebx
mov edx, esi
call fcn.00407074
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42066c
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 0x42068e
movzx eax, word [esp]
jmp 0x420690
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42134c
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 0x421471
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042115c
mov esi, eax
mov eax, dword [0x4dd374]
cmp byte [eax], 0
je 0x421419
mov eax, dword [0x4dd104]
call fcn.00404c2c
call fcn.00404534
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 [0x421324]
call fcn.00408758
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 0x42148c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x421455
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4dd098]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e0c34]
call fcn.0040884c
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 0x421478
lea eax, [ebp - 4]
mov edx, dword [0x421324]
call fcn.00408764
ret

Function at 0x4224dc
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 0x4225b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004070bc
lea eax, [ebp - 4]
call fcn.00407258
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040762c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42259c
mov eax, ebx
call fcn.004043b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x422595
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.0040762c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42257f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4225c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42257f
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 0x42259c
mov eax, dword [ebp - 0x10]
call fcn.004043d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4225b9
lea eax, [ebp - 4]
call fcn.00406cb4
ret
Function at 0x422f60
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.00407164
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a248
mov edi, eax
cmp edi, 0x104
jbe 0x422f0b
mov eax, edi
add eax, eax
call fcn.004043b8
mov esi, eax
jmp 0x422f0d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a248
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x422f46
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 0x422f30
mov eax, esp
cmp esi, eax
je 0x422f53
mov eax, esi
call fcn.004043d4
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 0x422f8c
cmp bl, 0
je 0x422f88
cmp bl, 0x41
jl 0x422f83
cmp bl, 0x5a
jg 0x422f83
or bl, 0x20
xor al, bl
inc esi
jmp 0x422f67
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x422ecc

Function at 0x42372c
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.004076b8
add esp, 0x800
pop ebx
ret

Function at 0x448ddc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x448e7a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x448e3e
cmp byte [ebx + 0x10], 0
jne 0x448e3e
cmp byte [ebx + 0x3c], 0
jne 0x448e3e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x448e5f
lea edx, [ebp - 4]
mov eax, dword [0x4dd30c]
call fcn.0040a1b4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x438418]
call fcn.004214bc
call fcn.00406404
jmp 0x448e5f
lea edx, [ebp - 8]
mov eax, dword [0x4dd30c]
call fcn.0040a1b4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x438418]
call fcn.004214bc
call fcn.00406404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448e81
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406d14
ret

Function at 0x449788
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4497d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00448d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4497ef
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4497f8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00448d28
dec esi
jne 0x44981a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x44b090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e2fe8
cmp dword [edi], 0
jne 0x44b10c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e2fe4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4dbff4
mov ecx, 2
call fcn.00404584
mov edx, 0x44b068
lea eax, [esi + 5]
call fcn.0044b088
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044b088
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 0x44b0e1
mov dword [0x4e2fe4], 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