Function at 0x43b500
Capabilities:
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2a10
mov eax, dword fs:[0]
push eax
sub esp, 0x740
mov eax, dword [0x53e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x680], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, edi
push dword [ebp + 0x10]
mov dword [ebp - 0x690], eax
xor eax, eax
mov dword [ebp - 0x694], eax
mov dword [ebp - 0x67c], edi
mov dword [ebp - 0x678], eax
mov byte [esi], al
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x10], eax
call fcn.00441dc0
add esp, 4
mov ecx, esi
push edi
call fcn.0043b010
test al, al
jne 0x43b5a8
mov edx, edi
mov ecx, str.Unable_to_get_create_session_for_url__url:__s_
call fcn.00423cb0
jmp 0x43bc9c
push 0x800000
push 0
push 0
push 0
push dword [esi + 0x18]
push str.POST
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x43b5dd
push dword [ebp + 0x10]
mov edx, edi
call fcn.00441e60
add esp, 4
jmp 0x43bc9c
sub esp, 8
lea ecx, [ebp - 0x74c]
call fcn.0043ece0
mov edi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov edi, dword [edi + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x43b865
lea eax, [esi + 8]
mov dword [ebp - 0x688], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x678]
mov eax, dword [eax + 0x10]
or ecx, 1
add eax, 2
mov dword [ebp - 0x678], ecx
mov dword [ebp - 0x694], ecx
mov dword [ebp - 0x684], ecx
lea ecx, [ebp - 0x658]
push eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.00433fb0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x658]
call fcn.004204d0
push 0x51b4fc
lea ecx, [ebp - 0x658]
call fcn.00420460
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x68c], eax
call fcn.004204d0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x640], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x630], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x678]
or eax, 2
mov dword [ebp - 0x694], eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x640]
cmp dword [ebp - 0x62c], 0x10
lea ecx, [ebp - 0x670]
cmovae edx, dword [ebp - 0x640]
call fcn.00439c70
mov eax, dword [ebp - 0x684]
or eax, 6
mov dword [ebp - 0x678], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x62c]
cmp edx, 0x10
jb 0x43b74c
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b73c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcbb
push edx
push ecx
call fcn.004a6603
mov eax, dword [ebp - 0x678]
add esp, 8
and eax, 0xfffffffe
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
mov dword [ebp - 0x678], eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x644]
cmp edx, 0x10
jb 0x43b7ae
mov ecx, dword [ebp - 0x658]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b7a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcbb
push edx
push ecx
call fcn.004a6603
add esp, 8
cmp dword [ebp - 0x65c], 8
lea eax, [ebp - 0x670]
push 0xa0000000
cmovae eax, dword [ebp - 0x670]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
push dword [eax + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov eax, dword [ebp - 0x688]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x43b805
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.004434d0
add esp, 0xc
mov edx, 0x51e908
mov ecx, eax
call fcn.00442090
mov ecx, eax
mov eax, dword [ebp - 0x68c]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x43b835
mov eax, dword [eax]
push edx
push eax
push ecx
call fcn.004434d0
add esp, 0xc
mov edx, 0x51e904
mov ecx, eax
call fcn.00442090
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 0
call fcn.00419480
mov esi, dword [esi]
cmp esi, edi
jne 0x43b602
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x734]
call fcn.004402c0
mov edi, dword [ebp + 0x10]
push 0
push edi
push edi
mov byte [ebp - 4], 6
push dword [ebp - 0x690]
mov esi, dword [ebp - 0x680]
push 0xffffffffffffffff
push 0
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x43b913
lea ecx, [ebp - 0x670]
call fcn.0043a4c0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x43b8b6
mov eax, dword [eax]
mov edx, dword [ebp - 0x67c]
mov ecx, str.Unable_to_send_stream_POST_request__url:__s__length:__d__error:__s_
push eax
push edi
call fcn.00441f00
add esp, 8
lea ecx, [ebp - 0x670]
call fcn.00419480
mov edx, dword [ebp - 0x614]
cmp edx, 0x10
jb 0x43bc76
mov ecx, dword [ebp - 0x628]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bc6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcbb
jmp 0x43bc6c
push 0
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x43b94b
lea ecx, [ebp - 0x670]
call fcn.0043a4c0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x43b939
mov eax, dword [eax]
mov edx, dword [ebp - 0x67c]
mov ecx, str.Unable_to_receive_HTTP_response__url:__s__length:__d__error:__s_
push eax
push edi
jmp 0x43b8c3
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor eax, eax
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x674], 0x200
push eax
push 0
push 0x13
push dword [esi + 0xc]
call edi
test eax, eax
jne 0x43b9ab
lea ecx, [ebp - 0x670]
call fcn.0043a4c0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x43b997
mov eax, dword [eax]
mov edx, dword [ebp - 0x67c]
mov ecx, str.Unable_to_query_HTTP_headers_for_status_code__url:__s__length:__d__error:__s_
push eax
push dword [ebp + 0x10]
jmp 0x43b8c3
lea eax, [esi + 0x28]
mov dword [eax], 0
push eax
lea eax, [ebp - 0x210]
push 0x51e3c0
push eax
call fcn.00438590
mov eax, dword [esi + 0x28]
add esp, 0xc
sub eax, 0xc8
cmp eax, 0x64
jb 0x43bc01
push 0x51e90c
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x674], 0x200
call fcn.00421d40
push 0
lea eax, [ebp - 0x674]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0x14
push dword [esi + 0xc]
call edi
test eax, eax
je 0x43ba42
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ba20
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x658]
call fcn.004225a0
push 0x14
push str._could_not_retrieve_
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x674], 0x400
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.00418ea0
lea eax, [ebp - 0x674]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x674]
lea eax, [ebp - 0x610]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x43badf
cmp dword [ebp - 0x674], 0
jbe 0x43badf
lea ecx, [ebp - 0x610]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bab0
sub ecx, edx
lea eax, [ebp - 0x610]
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.00418ea0
push 0x20
push dword [ebp - 0x674]
lea ecx, [ebp - 0x640]
call fcn.0043d660
cmp dword [ebp - 0x62c], 0x10
lea eax, [ebp - 0x640]
mov edx, dword [ebp - 0x67c]
lea ecx, [ebp - 0x658]
cmovae eax, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
mov dword [ebp - 0x690], eax
cmovae ecx, dword [ebp - 0x658]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x68c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x688], ecx
lea ecx, [ebp - 0x69c]
mov dword [ebp - 0x680], edx
mov edx, 0x53fa08
mov dword [ebp - 0x684], eax
call fcn.00432330
lea ecx, [ebp - 0x690]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [ebp - 0x68c]
push ecx
lea ecx, [ebp - 0x688]
push ecx
lea ecx, [ebp - 0x684]
push ecx
lea ecx, [ebp - 0x680]
push ecx
mov ecx, dword [eax]
sub esp, 8
call fcn.00444470
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x698]
test edi, edi
je 0x43bba1
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x43bba1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x43bba1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp - 0x62c]
cmp edx, 0x10
jb 0x43bbdb
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bbd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcbb
push edx
push ecx
call fcn.004a6603
add esp, 8
mov dword [ebp - 0x630], 0
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
jmp 0x43b8d1
xor eax, eax
mov dword [ebp - 0x674], 0x100
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 5
push dword [esi + 0xc]
call edi
test eax, eax
jne 0x43bc4c
push dword [esi + 0x28]
mov edx, dword [ebp - 0x67c]
push dword [ebp + 0x10]
call fcn.00441fa0
add esp, 8
mov byte [esi], 1
jmp 0x43b8d6
lea eax, [esi + 0x20]
push eax
lea eax, [ebp - 0x210]
push str._I64d
push eax
call fcn.00438590
add esp, 0xc
mov byte [esi], 1
jmp 0x43b8d6
push edx
push ecx
call fcn.004a6603
add esp, 8
lea ecx, [ebp - 0x74c]
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0xf
mov byte [ebp - 0x628], 0
call fcn.0043bcd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret 0x14
call fcn.004c6cef
int3