Function at 0x404432
Capabilities:
Create http request

Disassembly:
mov eax, 0x41aeae
call fcn.0040f3e4
sub esp, 0x42c
push ebx
push esi
push edi
push 0x451c8c
lea eax, [ebp - 0x30]
xor ebx, ebx
push 0x451c90
push eax
call fcn.00401ab6
add esp, 0xc
mov ecx, eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], esi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp + 8]
push ebx
push 0x84000101
push 0xffffffffffffffff
push ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x40477a
lea ecx, [ebp - 0x10]
push ecx
push 0x400
lea ecx, [ebp - 0x438]
push ecx
push eax
call fcn.00404850
add esp, 0x10
test al, al
je 0x404771
cmp dword [ebp - 0x10], ebx
jbe 0x404771
call fcn.00403759
mov dword [ebp - 0x2c], eax
mov esi, ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x438], bl
dec eax
mov edi, eax
lea eax, [ebp - 0x438]
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 0x4044fd
inc esi
cmp esi, edi
jbe 0x4044e4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x438]
add eax, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], eax
je 0x404553
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x404557
mov eax, ebx
jmp 0x40456c
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
push edi
push esi
push dword [ebp - 0x24]
push eax
call fcn.00401e1c
push 0x7c
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea eax, [ebp - 0x438]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x404595
mov eax, ebx
jmp 0x4045ae
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x438]
push edi
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 1
push eax
lea eax, [ebp - 0x20]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea eax, [ebp - 0x438]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x4045d8
mov eax, ebx
jmp 0x4045f1
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x438]
push edi
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 2
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea eax, [ebp - 0x438]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40461b
mov eax, ebx
jmp 0x404634
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x438]
push edi
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 3
push eax
lea eax, [ebp - 0x18]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea eax, [ebp - 0x438]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40465e
mov eax, ebx
jmp 0x404677
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x438]
push edi
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 4
push eax
lea eax, [ebp - 0x14]
push eax
call sub.mfc140u.dll_AfxExtractSubString
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
push eax
call esi
pop ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call esi
pop ecx
lea ecx, [ebp - 0x1c]
mov ebx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call esi
pop ecx
lea ecx, [ebp - 0x18]
mov edi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call esi
pop ecx
lea ecx, [ebp - 0x14]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
pop ecx
push 0xffffffffffffffff
push 0
push eax
push esi
push edi
push ebx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
call fcn.00401713
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x438]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x404716
xor eax, eax
jmp 0x404731
lea eax, [esi + esi]
call fcn.0040f410
mov eax, esp
lea ecx, [ebp - 0x438]
push dword [ebp - 0x2c]
push esi
push ecx
push eax
call fcn.00401e1c
push 0x7c
push 5
push eax
push dword [ebp + 0xc]
call sub.mfc140u.dll_AfxExtractSubString
xor ebx, ebx
lea ecx, [ebp - 0x14]
inc ebx
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, dword [ebp - 0x34]
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebx
lea esp, [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret