Function at 0x4036d1
Capabilities:
Create http request

Disassembly:
mov eax, 0x41a516
call fcn.0040e710
sub esp, 0x434
lea eax, [ebp - 0x10]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x28]
mov edi, ecx
push eax
call fcn.004041a0
pop ecx
pop ecx
test eax, eax
je 0x4039a9
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140.dll_Ordinal_316]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.mfc140.dll_Ordinal_4807]
push ebx
push 0x41e700
push eax
mov byte [ebp - 4], 1
call esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push 0x41e700
push eax
call esi
push 0x41f03c
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004019a1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401931
push 0x41e748
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call fcn.004019a1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401931
add esp, 0x48
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0x44fc8c
lea eax, [ebp - 0x34]
push 0x44fc90
push eax
call fcn.00401931
add esp, 0xc
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, eax
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], esi
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0
push 0x84000101
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x40397c
lea ecx, [ebp - 0x14]
push ecx
push 0x400
lea ecx, [ebp - 0x440]
push ecx
push eax
call fcn.00404254
add esp, 0x10
test al, al
je 0x403971
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x403966
mov byte [ebp + eax - 0x440], 0
xor esi, esi
dec eax
mov ebx, eax
lea eax, [ebp - 0x440]
add eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
pop ecx
test eax, eax
jne 0x403856
inc esi
cmp esi, ebx
jbe 0x40383d
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x7c
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 0xc
add eax, esi
push 0
push eax
call fcn.00401b34
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.mfc140.dll_Ordinal_2204
lea eax, [ebp - 0x440]
push eax
call fcn.00401b34
pop ecx
push 0x7c
push 1
push eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
call sub.mfc140.dll_Ordinal_2204
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
pop ecx
movzx esi, ax
lea ecx, [ebp - 0x18]
shl esi, 0x10
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
mov ebx, dword [ebp - 0x28]
movzx eax, ax
or eax, esi
mov dword [ebp - 0x38], eax
pop ecx
cmp eax, ebx
jbe 0x403932
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push 0x7c
push 2
push esi
push eax
call sub.mfc140.dll_Ordinal_2204
push 0x7c
push 3
push esi
lea eax, [ebp + 8]
push eax
call sub.mfc140.dll_Ordinal_2204
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [ebp - 0x38]
mov ecx, edi
push dword [ebp - 0x10]
push ebx
call dword [eax + 0xc]
jmp 0x40393d
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x10]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov esi, dword [ebp - 0x3c]
jmp 0x403971
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x14]
push dword [ebp - 0x40]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x403987
push dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x14]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4