Function at 0x41a400
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x440287
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x44fb24]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb24]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4f0]
mov ecx, dword [esp + 0x4ec]
mov edx, dword [esp + 0x4f4]
mov esi, dword [esp + 0x4e8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4f8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4fc]
test eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
je 0x41a483
mov dword [eax], 0
push ecx
call fcn.00419710
add esp, 4
test al, al
je 0x41a5ee
push 0x3c
lea ecx, [esp + 0x3c]
push 0
push ecx
call fcn.00423100
lea eax, [esp + 0xe0]
mov dword [esp + 0x54], eax
mov eax, 0x100
add esp, 0xc
cmp dword [esi + 0x18], 8
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x2d4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x38], 0x3c
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x10
mov dword [esp + 0x64], ecx
jb 0x41a4f1
mov esi, dword [esi + 4]
jmp 0x41a4f4
add esi, 4
lea edx, [esp + 0x38]
push edx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x41a5ee
xor bl, bl
mov ecx, str.https
lea eax, [esp + 0xb4]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a546
test dx, dx
je 0x41a542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a546
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a520
xor eax, eax
jmp 0x41a54b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41a553
mov bl, 1
jmp 0x41a58f
mov ecx, str.http
lea eax, [esp + 0xb4]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a586
test dx, dx
je 0x41a582
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a586
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a560
xor eax, eax
jmp 0x41a58b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41a5ee
push 0
push 0
push 0
push 0
push 0x4438cc
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x34], ebp
test ebp, ebp
mov dword [esp + 0x4e0], 0
je 0x41a5ee
mov eax, dword [esp + 0x50]
push 0
push 0
push 3
push 0
push 0
push eax
lea ecx, [esp + 0xec]
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
mov byte [esp + 0x4e0], 1
jne 0x41a5f5
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x41a7ef
neg bl
push 0
lea edx, [esp + 0x2d8]
sbb ebx, ebx
and ebx, 0x800000
mov eax, ebx
push eax
push 0
push 0
push 0
push edx
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x30], esi
test esi, esi
mov byte [esp + 0x4e0], 2
jne 0x41a643
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
xor al, al
jmp 0x41a7ef
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.00419bf0
add esp, 8
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x41a670
lea eax, [esp + 0x94]
push 0x20000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x74]
push edx
push eax
mov byte [esp + 0x4e8], 4
call fcn.0041a340
add esp, 8
test al, al
jne 0x41a6e3
lea ecx, [esp + 0x74]
call fcn.004133c0
lea ecx, [esp + 0x90]
call fcn.004014f0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebp
call esi
xor al, al
jmp 0x41a7ef
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41a739
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push eax
push 5
push esi
call ebx
test eax, eax
jne 0x41a713
push str.Could_not_unset_send_timeout__continuing..._n
call fcn.004243d3
add eax, 0x40
push eax
call fcn.0042433f
add esp, 8
mov ecx, dword [esp + 0x14]
push 4
push ecx
push 6
push esi
call ebx
test eax, eax
jne 0x41a739
push str.Could_not_unset_receive_timeout__continuing..._n
call fcn.004243d3
add eax, 0x40
push eax
call fcn.0042433f
add esp, 8
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x41a74b
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x88]
push edx
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x41a6b8
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xb4]
push ecx
push 0x13
push esi
mov dword [esp + 0x30], 8
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41a6b8
push 0xa
lea edx, [esp + 0xb0]
push 0
push edx
call fcn.00424316
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test ecx, ecx
je 0x41a7ad
mov dword [ecx], eax
cmp eax, 0xc8
sete bl
test bl, bl
je 0x41a7c9
mov eax, dword [esp + 0x28]
push eax
push esi
call fcn.00419e20
add esp, 8
mov bl, al
lea ecx, [esp + 0x74]
call fcn.004133c0
lea ecx, [esp + 0x90]
call fcn.004014f0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebp
call esi
mov al, bl
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c0]
xor ecx, esp
call fcn.00422a4f
add esp, 0x4d0
ret