joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404704
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406918
test esi, esi
jne 0x40473a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406aa0
jmp 0x404758
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404648
mov edi, eax
test esi, esi
je 0x404758
cmp dword [ebx], 0
je 0x404758
dec esi
jmp 0x404741
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x40478c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4e9008], 0x8088405
inc edx
mov dword [ebx + 0x4e9008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x405678
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405a64
mov byte [esp], al
cmp byte [esp], 0
jne 0x405801
test edi, edi
je 0x405801
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405738
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405713
cmp edi, 0xffffffff
je 0x4056d7
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4056d7
mov byte [esp], 0
jmp 0x405801
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405713
test ebx, ebx
jne 0x40570c
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402594
test eax, eax
jne 0x40570c
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405801
pause
dec ebp
test ebp, ebp
jg 0x4056bc
cmp edi, 0xffffffff
je 0x405738
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405736
mov byte [esp], 0
jmp 0x405801
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405686
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402594
cmp ebx, eax
jne 0x405738
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405874
mov edx, eax
mov ebx, dword [0x4ec8c8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40579f
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40579d
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40579f
xor edi, edi
cmp byte [esp], 0
je 0x4057c8
mov ebx, dword [esi]
test bl, 1
jne 0x4057e1
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402594
cmp ebx, eax
jne 0x4057a5
mov byte [esp + 1], 1
jmp 0x4057e1
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402594
cmp ebx, eax
jne 0x4057c8
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405752
cmp byte [esp], 0
je 0x405801
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40657c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ec050], 0
je 0x4065dd
cmp word [0x4ec32c], 0xd7b2
jne 0x4065a5
cmp dword [0x4ec334], 0
jbe 0x4065a5
mov eax, 0x4ec328
call dword [0x4ec344]
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
push 0x406608
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e9028], 0
jne 0x4065f9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4067d4
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 [0x4e902c], 0
je 0x4067ff
mov edx, edi
mov eax, esi
call dword [0x4e902c]
mov ebx, eax
jmp 0x406810
mov eax, 8
call fcn.0040437c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4ec051], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40679c
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 0x406845
mov edx, 8
mov eax, ebx
call fcn.00404398
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x408d38
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 0x408e9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406918
cmp si, word [0x4e97dc]
jb 0x408dd0
cmp si, word [0x4e99dc]
ja 0x408dd0
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408dd0
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4e97dc]
jae 0x408daa
mov edi, ebx
dec edi
jmp 0x408dcb
cmp si, word [ebx*8 + 0x4e97dc]
jbe 0x408dba
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408dcb
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4e97e0]
call fcn.00408c48
jmp 0x408dd0
cmp edi, dword [ebp - 8]
jae 0x408d94
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408e7f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408e7f
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.004075cc
push dword [ebp - 0x160]
push 0x408eb8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004075cc
push dword [ebp - 0x164]
push 0x408ec8
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004075cc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407804
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408ea4
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406978
ret
Function at 0x409050
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 0x409153
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4eeb51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4eeb6a]
jne 0x40909c
mov eax, esi
mov edx, 0x4eeb6c
mov ecx, 0x55
call fcn.004075cc
push 0x4eeb51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40913d
push 0x4eeb51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406918
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40910b
cmp byte [0x4eeb50], 0
je 0x4090d0
mov edx, esi
mov eax, ebx
call fcn.00408f34
jmp 0x40910b
mov edx, esi
mov eax, ebx
call fcn.00408d38
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40910b
cmp dword [esi], 0
je 0x4090f4
mov eax, esi
mov edx, 0x40916c
call fcn.00407724
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408d38
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407724
push 0x4eeb51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4eeb6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407540
push eax
push 0x4eeb6c
call sub.kernel32.dll_lstrcpynW
push 0x4eeb51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40915a
lea eax, [ebp - 4]
call fcn.00406918
ret
Function at 0x409388
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.004069fc
xor eax, eax
push ebp
push 0x4095ad
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4093c8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4093e2
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407540
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409597
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4094b1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4094b1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4094b1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4095f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4094b1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40962c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4094b1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409660
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409597
xor eax, eax
push ebp
push 0x409590
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409194
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 0x409520
mov eax, dword [ebp - 0x10]
call fcn.0040437c
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.00407590
jmp 0x40956b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4096a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40956b
mov eax, dword [ebp - 0x10]
call fcn.0040437c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4096a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409597
cmp dword [ebp - 8], 0
je 0x409586
mov eax, dword [ebp - 8]
call fcn.00404398
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 0x4095b4
lea eax, [ebp - 4]
call fcn.00406918
ret
Function at 0x4098ec
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.004069fc
xor eax, eax
push ebp
push 0x4099ac
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.004075cc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040777c
mov eax, dword [ebx]
call fcn.004097b4
test al, al
jne 0x409989
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004075cc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040777c
mov eax, dword [ebx]
call fcn.004097b4
test al, al
jne 0x409989
mov eax, ebx
call fcn.00406918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4099b3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406978
lea eax, [ebp - 4]
call fcn.00406918
ret

Function at 0x4197cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x419825
test eax, edx
je 0x419828
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4197e3
movzx eax, word [eax]
sub eax, ecx
jmp 0x41980a
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 0x41980b
add ecx, 4
js 0x4197fb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x419808
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41980a
xor eax, eax
ret
test eax, eax
je 0x419834
test edx, edx
jne 0x4197d4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41a684
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.00407540
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41a6ee
test ah, 4
je 0x41a6e7
test bl, bl
jne 0x41a6ac
mov al, 1
jmp 0x41a715
test al, 0x10
je 0x41a6b4
xor eax, eax
jmp 0x41a715
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41a6d8
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41a715
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41a715
test al, 0x10
sete al
jmp 0x41a715
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41a70f
cmp ebx, 3
je 0x41a70f
cmp ebx, 0x7b
je 0x41a70f
mov eax, esi
call fcn.0041a644
test al, al
jne 0x41a713
xor eax, eax
jmp 0x41a715
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41a71c
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.00407540
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41a7c3
test esi, 0x400
jne 0x41a758
test esi, 0x10
setne bl
jmp 0x41a7dd
cmp byte [esp], 0
je 0x41a78c
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41a7dd
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41a7dd
test esi, 0x10
je 0x41a798
mov bl, 1
jmp 0x41a7dd
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41a7bf
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41a7dd
mov bl, 1
jmp 0x41a7dd
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x41a7d7
cmp eax, 3
je 0x41a7d7
cmp eax, 0x7b
jne 0x41a7db
xor ebx, ebx
jmp 0x41a7dd
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41e258
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 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41e291
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406aa0
jmp 0x41e29a
mov eax, ebx
mov edx, esi
call fcn.00406cf8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41e2a4
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 0x41e2c6
movzx eax, word [esp]
jmp 0x41e2c8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41ef84
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 0x41f0a9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041ed94
mov esi, eax
mov eax, dword [0x4ebe74]
cmp byte [eax], 0
je 0x41f051
mov eax, dword [0x4ebc44]
call fcn.00404854
call fcn.004044f8
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 [0x41ef5c]
call fcn.00408788
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 0x41f0c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41f08d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4ebbdc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4eec34]
call fcn.0040887c
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 0x41f0b0
lea eax, [ebp - 4]
mov edx, dword [0x41ef5c]
call fcn.00408794
ret

Function at 0x41fce4
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 0x41fdba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406d40
lea eax, [ebp - 4]
call fcn.00406f1c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407540
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41fda4
mov eax, ebx
call fcn.0040437c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41fd9d
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.00407540
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41fd87
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41fdcc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41fd87
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 0x41fda4
mov eax, dword [ebp - 0x10]
call fcn.00404398
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fdc1
lea eax, [ebp - 4]
call fcn.00406918
ret
Function at 0x420f0c
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.004075cc
add esp, 0x800
pop ebx
ret

Function at 0x442dbc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x442e5a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x442e1e
cmp byte [ebx + 0x10], 0
jne 0x442e1e
cmp byte [ebx + 0x3c], 0
jne 0x442e1e
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 0x442e3f
lea edx, [ebp - 4]
mov eax, dword [0x4ebe14]
call fcn.0040a1b0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x434690]
call fcn.0041f0c8
call fcn.0040601c
jmp 0x442e3f
lea edx, [ebp - 8]
mov eax, dword [0x4ebe14]
call fcn.0040a1b0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x434690]
call fcn.0041f0c8
call fcn.0040601c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442e61
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406978
ret

Function at 0x443180
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 0x4431ce
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.00442d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4431e7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4431f0
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.00442d08
dec esi
jne 0x443212
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x44482c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f0f88
cmp dword [edi], 0
jne 0x4448a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f0f84]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ea044
mov ecx, 2
call fcn.00404548
mov edx, 0x444804
lea eax, [esi + 5]
call fcn.00444824
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00444824
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 0x44487d
mov dword [0x4f0f84], 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
Function at 0x44804c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00407540
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00447af0
test al, al
jne 0x4480ad
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ebfac]
mov dl, 1
mov eax, dword [0x446864]
call fcn.0041f1c0
call fcn.0040601c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00447a58
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44cd84
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x44cd8a
ret