Function at 0x404d06
Capabilities:
Create http request

Disassembly:
mov eax, 0x4241fc
call fcn.00423584
sub esp, 0x434
lea edx, [ebp - 0x10]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x2c]
call fcn.00403af7
test eax, eax
je 0x404fd0
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140.dll_Ordinal_316]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [sym.imp.mfc140.dll_Ordinal_4807]
push ebx
push 0x42d088
push eax
call esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push 0x42d088
push eax
call esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 0x42de5c
call fcn.004035ef
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.004032cc
push 0x42d0d0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004035ef
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004032cc
add esp, 0x28
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 0x45f1f0
mov edx, 0x45f1f4
lea ecx, [ebp - 0x34]
call fcn.004032cc
pop ecx
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 - 0x30]
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 0x404fa3
lea ecx, [ebp - 0x14]
push ecx
push ecx
lea edx, [ebp - 0x440]
mov ecx, eax
call fcn.00403bde
pop ecx
pop ecx
test al, al
je 0x404f98
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x404f8d
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 0x404e7e
inc esi
cmp esi, ebx
jbe 0x404e65
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 - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x7c
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xc
push 0
add ecx, esi
call fcn.004035e8
mov esi, dword [sym.imp.mfc140.dll_Ordinal_2204]
push eax
lea eax, [ebp - 0x18]
push eax
call esi
lea ecx, [ebp - 0x440]
call fcn.004035e8
push 0x7c
push 1
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
call esi
lea ecx, [ebp - 0x18]
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 - 0x14]
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 - 0x2c]
movzx eax, ax
or eax, esi
mov dword [ebp - 0x38], eax
pop ecx
cmp eax, ebx
jbe 0x404f59
mov esi, dword [sym.imp.mfc140.dll_Ordinal_2204]
lea eax, [ebp - 0x20]
push 0x7c
push 2
push dword [ebp - 0x1c]
push eax
call esi
push 0x7c
push 3
push dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
call esi
mov eax, dword [edi]
push ecx
mov ecx, esp
mov esi, dword [eax + 0xc]
lea eax, [ebp + 8]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x10]
push ebx
call esi
jmp 0x404f64
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 - 0x20]
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]
mov esi, dword [ebp - 0x3c]
jmp 0x404f98
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 0x404fae
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 - 0x30]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x28]
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