Function at 0x10013bce
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], edi
mov dword [ebp + 8], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], 0x50
mov dword [ebp - 4], 0x840cff00
cmp ebx, edi
je 0x10013f5a
push 0xc
pop esi
call fcn.10011d3d
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10013f5a
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
cmp dword [ebx + 0x20], edi
je 0x10013c5d
mov esi, dword [ebx + 0x1c]
add esi, esi
call fcn.10011d3d
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x10013f5a
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push esi
call sub.ntdll.dll_
add esp, 0xc
push dword [ebx + 0x1c]
push esi
push dword [ebx + 0x28]
call fcn.1001be97
mov eax, dword [ebx + 8]
push edi
push edi
push edi
push edi
push eax
call dword [0x1002038c]
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x10013f4e
cmp dword [ebx + 0x2c], edi
je 0x10013c89
mov dword [ebp - 0xc], 0x1bb
mov dword [ebp - 4], 0x848cff00
push edi
push edi
push 3
push edi
push edi
push dword [ebp - 0xc]
push dword [ebx]
push eax
call dword [0x1002039c]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x10013f2f
push 8
pop eax
call fcn.1001d292
mov esi, esp
cmp esi, edi
je 0x10013cc7
push 0x8c
push 4
mov eax, esi
mov edx, 0x10026670
call fcn.1001139a
push 0xc
pop eax
call fcn.1001d292
mov eax, esp
cmp eax, edi
je 0x10013ce6
push 0x85
push 8
mov edx, 0x10026308
call fcn.1001139a
push edi
push dword [ebp - 4]
push edi
push edi
push eax
push dword [ebx + 4]
push esi
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_]
mov dword [ebp + 8], eax
cmp eax, edi
je 0x10013f2f
mov esi, dword [0x10020394]
cmp dword [ebx + 0x10], edi
jne 0x10013d44
push 0x34
pop eax
call fcn.1001d292
mov eax, esp
cmp eax, edi
je 0x10013d2f
push 0x8e
push 0x33
mov edx, 0x10026220
call fcn.1001139a
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013f2f
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x10013d60
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013f2f
cmp dword [ebx + 0x10], edi
je 0x10013dbd
cmp dword [ebx + 0x14], edi
je 0x10013dbd
push 0x50
pop eax
call fcn.1001d380
mov eax, esp
cmp eax, edi
je 0x10013d89
push 0x8c
push 0x4d
mov edx, 0x100261d0
call fcn.1001139a
push dword [ebx + 0x14]
push eax
lea eax, [ebp - 0x12c]
push 0x104
push eax
call dword [0x10020480]
add esp, 0x10
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10013f2f
cmp dword [ebx + 0x2c], edi
je 0x10013e08
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push 0x1f
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 4
call dword [0x10020384]
test eax, eax
je 0x10013f2f
push dword [ebp - 0x18]
or dword [ebp - 4], 0x7380
lea eax, [ebp - 4]
push eax
push 0x1f
push dword [ebp + 8]
call dword [0x100203a4]
test eax, eax
je 0x10013f2f
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x10013e12
mov eax, dword [ebx + 0x18]
push dword [ebx + 0x1c]
mov edi, dword [ebp + 8]
push eax
call fcn.10013b52
test eax, eax
je 0x10013f2d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push edi
call dword [0x10020398]
test eax, eax
je 0x10013f2d
cmp dword [ebp - 0x1c], 0xc8
jne 0x10013f2d
mov esi, 0x1000
call fcn.10011d3d
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
test eax, eax
je 0x10013f2d
call fcn.10011d3d
mov dword [ebp - 4], eax
test eax, eax
je 0x10013f2d
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push edi
call dword [0x100203a0]
test eax, eax
je 0x10013eea
cmp dword [ebp - 0x10], 0
mov edi, dword [ebp - 8]
je 0x10013eed
push dword [ebp - 0x10]
mov eax, dword [edi + 4]
add eax, dword [edi]
push dword [ebp - 4]
push eax
call sub.ntdll.dll_
mov eax, dword [ebp - 0x10]
add dword [edi + 4], eax
mov esi, dword [edi + 4]
mov edi, dword [edi]
add esp, 0xc
lea esi, [esi + 0x1000]
call fcn.10011d8c
mov edi, dword [ebp - 8]
mov dword [edi], eax
test eax, eax
je 0x10013eed
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x1000
push dword [ebp - 4]
push dword [ebp + 8]
call dword [0x100203a0]
test eax, eax
jne 0x10013e8f
jmp 0x10013eed
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
call fcn.10011df1
mov esi, dword [edi]
test esi, esi
je 0x10013f09
cmp dword [edi + 4], 0
jne 0x10013f09
call fcn.10011df1
and dword [edi], 0
cmp dword [ebx + 0x24], 0
je 0x10013f26
mov ecx, dword [edi]
test ecx, ecx
je 0x10013f26
mov eax, dword [edi + 4]
test eax, eax
je 0x10013f26
push eax
push ecx
push dword [ebx + 0x28]
call fcn.1001be97
mov dword [edi + 8], 1
xor edi, edi
push dword [ebp - 0x24]
mov esi, dword [0x10020388]
call esi
cmp dword [ebp - 0xc], edi
je 0x10013f44
push dword [ebp - 0xc]
call esi
cmp dword [ebp + 8], edi
je 0x10013f4e
push dword [ebp + 8]
call esi
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x10013f5a
call fcn.10011df1
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x138]
pop edi
pop esi
pop ebx
leave
ret 4