Function at 0x424350
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x4d04a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x494], edx
mov edx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 0x490], edx
mov dword [ebp - 0x49c], eax
test eax, eax
je 0x4243a7
mov dword [eax], 0
push ecx
call fcn.00423350
add esp, 4
test al, al
jne 0x4243c5
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271c4
mov esp, ebp
pop ebp
ret
push 0x3c
lea eax, [ebp - 0x4e0]
push 0
push eax
call fcn.00426fc0
lea ecx, [ebp - 0x2c]
mov eax, 0x100
mov dword [ebp - 0x4dc], ecx
add esp, 0xc
cmp dword [esi + 0x14], 8
lea edx, [ebp - 0x42c]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4b0], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x4e0], 0x3c
mov dword [ebp - 0x4d8], 0x10
mov dword [ebp - 0x4d0], edx
mov dword [ebp - 0x4b4], ecx
jb 0x424429
mov esi, dword [esi]
lea edx, [ebp - 0x4e0]
push edx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4243b4
mov byte [ebp - 0x481], 0
mov ecx, 0x4919f4
lea eax, [ebp - 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x424477
test dx, dx
je 0x424473
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x424477
add eax, 4
add ecx, 4
test dx, dx
jne 0x424451
xor eax, eax
jmp 0x42447c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x424489
mov byte [ebp - 0x481], 1
jmp 0x4244c4
mov ecx, 0x4919e8
lea eax, [ebp - 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4244b7
test dx, dx
je 0x4244b3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4244b7
add eax, 4
add ecx, 4
test dx, dx
jne 0x424491
xor eax, eax
jmp 0x4244bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4243b4
push ebx
push 0
push 0
push 0
push 0
push str.Breakpad_1.0__Windows_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x488], ebx
test ebx, ebx
jne 0x4244f6
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271c4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x4c8]
push edi
push 0
push 0
push 3
push 0
push 0
push eax
lea ecx, [ebp - 0x42c]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
test edi, edi
jne 0x424536
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271c4
mov esp, ebp
pop ebp
ret
movzx edx, byte [ebp - 0x481]
neg edx
push 0
sbb edx, edx
and edx, 0x800000
or edx, 0x80000
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x42458e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271c4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x480]
push ecx
call fcn.004234e0
lea edx, [ebp - 0x480]
push edx
lea eax, [ebp - 0x464]
push eax
call fcn.00423630
mov eax, dword [ebp - 0x464]
add esp, 0xc
cmp dword [ebp - 0x450], 8
jae 0x4245c5
lea eax, [ebp - 0x464]
push 0x20000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [ebp - 0x494]
lea ecx, [ebp - 0x448]
push ecx
mov ecx, dword [ebp - 0x4a4]
lea edx, [ebp - 0x480]
push edx
mov edx, dword [ebp - 0x4a0]
push eax
push ecx
push edx
mov dword [ebp - 0x434], 0xf
mov dword [ebp - 0x438], 0
mov byte [ebp - 0x448], 0
call fcn.00423c10
add esp, 0x14
test al, al
je 0x4246d2
mov eax, dword [ebp - 0x48c]
test eax, eax
je 0x424682
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push eax
push 5
push esi
call ebx
test eax, eax
jne 0x424654
push str.Could_not_unset_send_timeout__continuing..._n
call fcn.00427777
add eax, 0x40
push eax
call fcn.0042c156
add esp, 8
mov eax, dword [ebp - 0x48c]
push 4
push eax
push 6
push esi
call ebx
test eax, eax
jne 0x42467c
push str.Could_not_unset_receive_timeout__continuing..._n
call fcn.00427777
add eax, 0x40
push eax
call fcn.0042c156
add esp, 8
mov ebx, dword [ebp - 0x488]
cmp dword [ebp - 0x434], 0x10
mov eax, dword [ebp - 0x448]
jae 0x424697
lea eax, [ebp - 0x448]
mov ecx, dword [ebp - 0x438]
push ecx
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4246d2
push 0
lea edx, [ebp - 0x498]
push edx
lea eax, [ebp - 0xc]
push eax
push 0x13
push esi
mov dword [ebp - 0x498], 8
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x424715
lea ecx, [ebp - 0x448]
call fcn.00401a50
lea ecx, [ebp - 0x464]
call fcn.00446200
lea ecx, [ebp - 0x480]
call fcn.00446200
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebx
call esi
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271c4
mov esp, ebp
pop ebp
ret
push 0xa
lea ecx, [ebp - 0xc]
push 0
push ecx
call fcn.0042c13c
mov ecx, dword [ebp - 0x49c]
add esp, 0xc
test ecx, ecx
je 0x424731
mov dword [ecx], eax
cmp eax, 0xc8
sete bl
test bl, bl
je 0x42474f
mov edx, dword [ebp - 0x490]
push edx
push esi
call fcn.004238d0
add esp, 8
mov bl, al
lea ecx, [ebp - 0x448]
call fcn.00401a50
lea ecx, [ebp - 0x464]
call fcn.00446200
lea ecx, [ebp - 0x480]
call fcn.00446200
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov eax, dword [ebp - 0x488]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.004271c4
mov esp, ebp
pop ebp
ret