joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4094a4
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 0x4095a7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5cab55
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5cab6e]
jne 0x4094f0
mov eax, esi
mov edx, 0x5cab70
mov ecx, 0x55
call fcn.00407740
push 0x5cab55
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409591
push 0x5cab55
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406b08
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40955f
cmp byte [0x5cab54], 0
je 0x409524
mov edx, esi
mov eax, ebx
call fcn.00409388
jmp 0x40955f
mov edx, esi
mov eax, ebx
call fcn.0040918c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40955f
cmp dword [esi], 0
je 0x409548
mov eax, esi
mov edx, 0x4095c0
call fcn.00407898
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040918c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407898
push 0x5cab55
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5cab6e], bx
push 0xaa
mov eax, dword [esi]
call fcn.0040769c
push eax
push 0x5cab70
call sub.kernel32.dll_lstrcpynW
push 0x5cab55
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4095ae
lea eax, [ebp - 4]
call fcn.00406b08
ret
Function at 0x4097dc
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.00406bec
xor eax, eax
push ebp
push 0x409a01
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40981c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409836
push 0x105
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x4099eb
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a10
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409905
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a10
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409905
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409905
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a4c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409905
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a80
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409905
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ab4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4099eb
xor eax, eax
push ebp
push 0x4099e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004095e8
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 0x409974
mov eax, dword [ebp - 0x10]
call fcn.00404404
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.004076ec
jmp 0x4099bf
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409af4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4099bf
mov eax, dword [ebp - 0x10]
call fcn.00404404
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409af4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004076ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4099eb
cmp dword [ebp - 8], 0
je 0x4099da
mov eax, dword [ebp - 8]
call fcn.00404420
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 0x409a08
lea eax, [ebp - 4]
call fcn.00406b08
ret
Function at 0x409d40
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.00406bec
xor eax, eax
push ebp
push 0x409e00
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.00407740
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004078f0
mov eax, dword [ebx]
call fcn.00409c08
test al, al
jne 0x409ddd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407740
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004078f0
mov eax, dword [ebx]
call fcn.00409c08
test al, al
jne 0x409ddd
mov eax, ebx
call fcn.00406b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409e07
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406b68
lea eax, [ebp - 4]
call fcn.00406b08
ret

Function at 0x41cefc
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 0x41d025
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 0x41cfff
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 0x41cfe8
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.00407740
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407c2c
test eax, eax
jle 0x41cfe8
mov eax, dword [ebp - 4]
test eax, eax
je 0x41cf9c
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41cfaa
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.00407ac0
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.004076ec
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.004078f0
jmp 0x41cfff
add ebx, 2
cmp word [ebx], 0
jne 0x41cfe5
add ebx, 4
test ebx, ebx
je 0x41cff9
cmp word [ebx], 0
jne 0x41cf4e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d02c
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00406b68
lea eax, [ebp - 4]
call fcn.00406b08
ret
Function at 0x41d118
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 0x41d2d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00406b08
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
test eax, eax
jne 0x41d17c
cmp dword [ebp - 0x14], 0
je 0x41d26a
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 0x41d26a
xor eax, eax
push ebp
push 0x41d263
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 0x41d24c
xor eax, eax
push ebp
push 0x41d245
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.0040dcd8
test eax, eax
jbe 0x41d22e
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00407740
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041cefc
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00406ee8
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d24c
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 0x41d26a
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp byte [ebp - 9], 0
jne 0x41d2b6
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0041d034
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00406ee8
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41d2b6
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041cefc
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.00406ee8
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d2db
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.00406b68
ret
Function at 0x41d2e4
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.00424494
test al, al
je 0x41d38c
mov eax, ebx
call fcn.0040769c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41d38c
test ah, 4
je 0x41d38c
test al, 0x10
je 0x41d32b
mov edi, 0x2000000
jmp 0x41d32d
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040769c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41d38c
xor eax, eax
push ebp
push 0x41d385
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041d118
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d38c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41d4f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41d54d
test eax, edx
je 0x41d550
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d50b
movzx eax, word [eax]
sub eax, ecx
jmp 0x41d532
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 0x41d533
add ecx, 4
js 0x41d523
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41d530
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41d532
xor eax, eax
ret
test eax, eax
je 0x41d55c
test edx, edx
jne 0x41d4fc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41e7e0
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.0040769c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e84a
test ah, 4
je 0x41e843
test bl, bl
jne 0x41e808
mov al, 1
jmp 0x41e871
test al, 0x10
je 0x41e810
xor eax, eax
jmp 0x41e871
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e834
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x41e871
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41e871
test al, 0x10
sete al
jmp 0x41e871
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x41e86b
cmp ebx, 3
je 0x41e86b
cmp ebx, 0x7b
je 0x41e86b
mov eax, esi
call fcn.0041e7a0
test al, al
jne 0x41e86f
xor eax, eax
jmp 0x41e871
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41e878
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.0040769c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41e91f
test esi, 0x400
jne 0x41e8b4
test esi, 0x10
setne bl
jmp 0x41e939
cmp byte [esp], 0
je 0x41e8e8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e939
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x41e939
test esi, 0x10
je 0x41e8f4
mov bl, 1
jmp 0x41e939
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e91b
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x41e939
mov bl, 1
jmp 0x41e939
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x41e933
cmp eax, 3
je 0x41e933
cmp eax, 0x7b
jne 0x41e937
xor ebx, ebx
jmp 0x41e939
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41ea40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x41eaeb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
call fcn.0040769c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x41ead0
test edi, 0x400
je 0x41eac7
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041d2e4
test al, al
je 0x41eac7
mov eax, dword [ebp - 4]
call fcn.0041ef00
test al, al
je 0x41eab7
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0041ec80
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042497c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.004078f0
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 1
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41eaf2
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406b68
ret

Function at 0x41eafc
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.0040769c
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41eb51
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41eb4b
test ah, 4
je 0x41eb4b
test al, 0x10
je 0x41eb4b
mov eax, esi
call fcn.0040769c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41eb51
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x422614
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 0x42264d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406c90
jmp 0x422656
mov eax, ebx
mov edx, esi
call fcn.00406ee8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422660
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
test eax, eax
jle 0x422682
movzx eax, word [esp]
jmp 0x422684
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x423350
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 0x423475
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423160
mov esi, eax
mov eax, dword [0x5c7ca8]
cmp byte [eax], 0
je 0x42341d
mov eax, dword [0x5c7784]
call fcn.00404a00
call fcn.00404580
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 [0x423328]
call fcn.00408ac4
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 0x423490
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x423459
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5c76c4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5cac38]
call fcn.00408cd0
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 0x42347c
lea eax, [ebp - 4]
mov edx, dword [0x423328]
call fcn.00408be8
ret
Function at 0x4244b4
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 0x42458a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f30
lea eax, [ebp - 4]
call fcn.004070e0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040769c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424574
mov eax, ebx
call fcn.00404404
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42456d
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.0040769c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424557
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42459c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424557
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 0x424574
mov eax, dword [ebp - 0x10]
call fcn.00404420
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424591
lea eax, [ebp - 4]
call fcn.00406b08
ret

Function at 0x4250a8
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.00406fec
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a6cc
mov edi, eax
cmp edi, 0x104
jbe 0x425053
mov eax, edi
add eax, eax
call fcn.00404404
mov esi, eax
jmp 0x425055
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a6cc
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42508e
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 0x425078
mov eax, esp
cmp esi, eax
je 0x42509b
mov eax, esi
call fcn.00404420
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 0x4250d4
cmp bl, 0
je 0x4250d0
cmp bl, 0x41
jl 0x4250cb
cmp bl, 0x5a
jg 0x4250cb
or bl, 0x20
xor al, bl
inc esi
jmp 0x4250af
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x425014

Function at 0x4258f8
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.00407740
add esp, 0x800
pop ebx
ret
Function at 0x425c70
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00406b08
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040769c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x425cb5
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00406c90
jmp 0x425cce
mov edx, ebx
dec edx
mov eax, esi
call fcn.00407818
push ebx
mov eax, dword [esi]
call fcn.0040769c
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x44e35c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44e3fa
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44e3be
cmp byte [ebx + 0x10], 0
jne 0x44e3be
cmp byte [ebx + 0x3c], 0
jne 0x44e3be
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 0x44e3df
lea edx, [ebp - 4]
mov eax, dword [0x5c7bd4]
call fcn.0040a638
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43e400]
call fcn.00423494
call fcn.004061f0
jmp 0x44e3df
lea edx, [ebp - 8]
mov eax, dword [0x5c7bd4]
call fcn.0040a638
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43e400]
call fcn.00423494
call fcn.004061f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e401
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406b68
ret

Function at 0x44ed08
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 0x44ed56
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.0044e2a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44ed6f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44ed78
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.0044e2a8
dec esi
jne 0x44ed9a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x450610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5ccff0
cmp dword [edi], 0
jne 0x45068c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x5ccfec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5be19c
mov ecx, 2
call fcn.0040464c
mov edx, 0x4505e8
lea eax, [esi + 5]
call fcn.00450608
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00450608
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 0x450661
mov dword [0x5ccfec], 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