Function at 0x69bc63f8
Capabilities:
Check http status code
Read http header
Receive http response
Set http header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0x10], 3
push esi
mov esi, ecx
je 0x69bc67d5
cmp dword [ebp + 0x10], 2
je 0x69bc67d5
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, ebx
sete byte [ebp - 1]
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x20], ebx
sete byte [ebp - 2]
test byte [esi + 0x64], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], 0x64
mov byte [ebp + 0xf], bl
je 0x69bc6728
call fcn.69bc51b5
test al, al
je 0x69bc6728
cmp dword [ebp + 0x10], 1
jne 0x69bc646d
cmp dword [ebp + 8], ebx
jne 0x69bc646d
cmp edi, ebx
je 0x69bc6490
mov edi, 0xc00ce232
mov esi, dword [esi + 0x58]
cmp esi, 0x8000000a
je 0x69bc66d4
cmp esi, ebx
jge 0x69bc66d4
mov edi, esi
jmp 0x69bc66d4
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 8]
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.69b1e566
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
push dword [ebp - 8]
mov ecx, esi
call fcn.69bc5788
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
push 0xa0000000
push 0xffffffffffffffff
push 0x69bc67e0
push dword [esi + 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x69bc6518
mov byte [ebp + 0xf], 1
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x69bc6518
push ebx
push dword [esi + 0x50]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x69bc6518
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x20000013
push dword [esi + 0x50]
mov dword [ebp - 0x1c], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x69bc6568
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x69bc652a
call edi
mov edi, eax
jmp 0x69bc653a
call edi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
cmp edi, 0x80072f0c
jne 0x69bc6472
cmp byte [ebp + 0xf], bl
je 0x69bc6472
mov ecx, esi
mov byte [ebp + 0xf], bl
call fcn.69bc54e2
mov edi, eax
cmp edi, ebx
jne 0x69bc6472
jmp 0x69bc64d4
mov eax, dword [ebp - 0x28]
cmp eax, 0x190
jae 0x69bc663f
cmp eax, 0x12c
je 0x69bc659d
cmp eax, 0x12d
je 0x69bc659d
cmp eax, 0x12e
je 0x69bc659d
cmp eax, 0x12f
je 0x69bc659d
cmp eax, 0x133
jne 0x69bc666a
lea eax, [ebp - 0xc]
push eax
push 0x69b49e60
mov ecx, esi
call fcn.69bc59b8
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
dec dword [ebp - 0x24]
je 0x69bc6649
push ebx
push 0x1048
mov dword [ebp - 0x1c], 0x824
call fcn.69b18229
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x69bc6653
push 0x10000000
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_UrlCanonicalizeW]
mov edi, eax
cmp edi, ebx
jl 0x69bc665d
push dword [ebp - 0xc]
call fcn.69b1131d
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.69b30645
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
push 0xffffffffffffffff
push dword [ebp - 8]
push dword [ebp + 0x10]
call fcn.69bc5245
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
push dword [ebp - 8]
call fcn.69b1131d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
jmp 0x69bc64a7
mov edi, 0x800c0008
jmp 0x69bc6472
mov edi, 0x800c0014
jmp 0x69bc6472
mov edi, 0x8007000e
jmp 0x69bc6472
push dword [ebp + 0x10]
call fcn.69b1131d
jmp 0x69bc6472
lea eax, [ebp - 0x14]
push eax
push 0x69b49bec
mov ecx, esi
call fcn.69bc59b8
test eax, eax
jne 0x69bc66a0
push ParseURLW
push dword [ebp - 0x14]
call fcn.69b17349
push eax
push dword [ebp - 0x14]
mov ecx, esi
call fcn.69bc5ca3
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.69bc5a6f
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
cmp dword [ebp - 0x10], ebx
je 0x69bc66d2
cmp dword [esi + 0x44], ebx
jne 0x69bc66c9
push dword [ebp - 0x10]
mov ecx, esi
call fcn.69bc6108
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x69bc66e6
cmp byte [ebp - 1], bl
je 0x69bc66e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x69bc66f8
cmp byte [ebp - 2], bl
je 0x69bc66f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], ebx
je 0x69bc6705
push dword [ebp - 8]
call fcn.69b1131d
cmp dword [ebp - 0xc], ebx
je 0x69bc6712
push dword [ebp - 0xc]
call fcn.69b1131d
cmp dword [ebp - 0x14], ebx
je 0x69bc671f
push dword [ebp - 0x14]
call fcn.69b1131d
mov eax, edi
pop edi
pop ebx
jmp 0x69bc67da
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 8]
push ebx
lea ecx, [esi + 0x78]
push ecx
push eax
call fcn.69b1e566
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
cmp byte [ebp - 1], bl
je 0x69bc675d
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.ole32.dll_CreateBindCtx]
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x10]
push eax
push dword [ebp - 0x18]
call sub.urlmon.dll_RegisterBindStatusCallback
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
push dword [ebp - 0x20]
lea ecx, [esi + 0x6c]
call fcn.69b1538d
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x69bc6790
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 2], bl
je 0x69bc67b3
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
lea edx, [ebp + 8]
push edx
push ecx
push eax
call sub.urlmon.dll_CreateURLMoniker
mov edi, eax
cmp edi, ebx
jl 0x69bc6472
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
push 0x69b1a0b0
push ebx
push dword [ebp - 0x18]
mov dword [esi + 0x58], 0x8000000a
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
jmp 0x69bc66ab
mov eax, 0x80070057
pop esi
leave
ret 0xc