Function at 0x402ce0
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
push 0xffffffffffffffff
push 0x41a502
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x421474]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4a0], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x49c], edx
mov dword [ebp - 0x4ac], ecx
test ecx, ecx
je 0x402d39
mov dword [ecx], 0
call fcn.004040b0
test al, al
je 0x402e9d
push 0x3c
lea eax, [ebp - 0x4f0]
push 0
push eax
call fcn.0040d4e0
lea ecx, [ebp - 0x3c]
mov eax, 0x100
mov dword [ebp - 0x4ec], ecx
add esp, 0xc
cmp dword [esi + 0x14], 8
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x4dc], eax
mov dword [ebp - 0x4c0], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x4f0], 0x3c
mov dword [ebp - 0x4e8], 0x10
mov dword [ebp - 0x4e0], edx
mov dword [ebp - 0x4c4], ecx
jb 0x402daa
mov esi, dword [esi]
lea edx, [ebp - 0x4f0]
push edx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x402e9d
mov byte [ebp - 0x491], 0
mov ecx, str.https
lea eax, [ebp - 0x3c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402df8
test dx, dx
je 0x402df4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402df8
add eax, 4
add ecx, 4
test dx, dx
jne 0x402dd2
xor eax, eax
jmp 0x402dfd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402e0a
mov byte [ebp - 0x491], 1
jmp 0x402e41
mov ecx, str.http
lea eax, [ebp - 0x3c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402e38
test dx, dx
je 0x402e34
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402e38
add eax, 4
add ecx, 4
test dx, dx
jne 0x402e12
xor eax, eax
jmp 0x402e3d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402e9d
push 0
push 0
push 0
push 0
push str.BdvbCrashReport_1.0__Windows_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x498], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x402e9d
mov eax, dword [ebp - 0x4d8]
push 0
push 0
push 3
push 0
push 0
push eax
lea ecx, [ebp - 0x23c]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
mov dword [ebp - 0x4b4], ebx
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x402ea4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x4030cd
movzx eax, byte [ebp - 0x491]
neg eax
push 0
sbb eax, eax
and eax, 0x800000
or eax, 0x80000
push eax
push 0
push 0
push 0
lea edx, [ebp - 0x43c]
push edx
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x4b0], edi
mov byte [ebp - 4], 2
test edi, edi
jne 0x402ef8
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push esi
call edi
xor al, al
jmp 0x4030cd
lea esi, [ebp - 0x490]
call fcn.00403330
mov eax, esi
push eax
lea ecx, [ebp - 0x474]
push ecx
mov byte [ebp - 4], 3
call fcn.004033c0
add esp, 8
mov eax, dword [ebp - 0x474]
mov esi, 8
cmp dword [ebp - 0x460], esi
jae 0x402f32
lea eax, [ebp - 0x474]
push 0x20000000
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
mov eax, dword [ebp - 0x4a8]
mov ecx, dword [ebp - 0x4a0]
lea edx, [ebp - 0x458]
push edx
push eax
lea edx, [ebp - 0x490]
mov byte [ebp - 4], 5
call fcn.00403440
add esp, 8
test al, al
jne 0x402fc3
lea ecx, [ebp - 0x458]
call fcn.00404190
lea esi, [ebp - 0x474]
call fcn.004014e0
lea esi, [ebp - 0x490]
call fcn.004014e0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
mov ecx, dword [ebp - 0x498]
push ecx
call esi
xor al, al
jmp 0x4030cd
cmp dword [ebp - 0x444], 0x10
mov eax, dword [ebp - 0x458]
jae 0x402fd8
lea eax, [ebp - 0x458]
mov edx, dword [ebp - 0x448]
push edx
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x40302c
lea ecx, [ebp - 0x458]
call fcn.00404190
lea esi, [ebp - 0x474]
call fcn.004014e0
lea esi, [ebp - 0x490]
call fcn.004014e0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 0x498]
push eax
call esi
xor al, al
jmp 0x4030cd
push 0
lea ecx, [ebp - 0x4a4]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x13
push edi
mov dword [ebp - 0x4a4], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x402fef
push 0xa
lea ecx, [ebp - 0x1c]
push 0
push ecx
call fcn.00408c84
mov ecx, dword [ebp - 0x4ac]
add esp, 0xc
test ecx, ecx
je 0x403068
mov dword [ecx], eax
cmp eax, 0xc8
sete al
mov byte [ebp - 0x491], al
test al, al
je 0x403091
mov edx, dword [ebp - 0x49c]
push edx
mov ecx, edi
call fcn.004030f0
add esp, 4
mov byte [ebp - 0x491], al
lea ecx, [ebp - 0x458]
call fcn.00404190
lea esi, [ebp - 0x474]
call fcn.004014e0
lea esi, [ebp - 0x490]
call fcn.004014e0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 0x498]
push eax
call esi
mov al, byte [ebp - 0x491]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004078b8
mov esp, ebp
pop ebp
ret