Function at 0x100169c0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x844
mov eax, dword [0x10057bf0]
xor eax, esp
mov dword [esp + 0x840], eax
mov eax, dword [esp + 0x850]
push ebx
push ebp
mov ebp, dword [esp + 0x850]
xor ebx, ebx
push esi
push edi
push 0x100
mov dword [esp + 0x14], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x654]
push eax
push 0x100
lea eax, [esp + 0x250]
mov dword [esp + 0x24], ebx
push eax
push edi
push edi
push edi
push edi
push ebp
mov dword [esp + 0x58], 4
mov dword [esp + 0x4c], 0x209
call fcn.100160c0
push dword [esp + 0x85c]
mov esi, dword [esp + 0x868]
push esi
push dword [esp + 0x18]
call fcn.1000f460
lea eax, [esp + 0x244]
push eax
push esi
push dword [esp + 0x18]
call fcn.1000f3a0
lea eax, [esp + 0x650]
push eax
push esi
push dword [esp + 0x18]
call fcn.1000f3a0
lea ecx, [esp + 0x38]
mov edx, 0x105
lea esi, [ebp + 0xe]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x10016a9e
movzx eax, word [esi + ecx]
test ax, ax
je 0x10016a9e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10016a80
jmp 0x10016aa2
test edx, edx
jne 0x10016aa5
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016ab1
push 0
push 0
push 0
push 0
sub ecx, edx
lea eax, [esp + 0x48]
sar ecx, 1
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.10015a50
mov ebp, eax
test ebp, ebp
jne 0x10016af3
mov esi, 0xfffffc0d
jmp 0x10016d44
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016b00
push 0
push 0
push esi
push ebp
sub ecx, edx
lea eax, [esp + 0x48]
sar ecx, 1
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [esi + ebp], bl
mov esi, ebp
cmp byte [ebp], bl
je 0x10016b44
nop
mov al, byte [esi]
cmp al, 0x5c
je 0x10016b41
cmp al, 0x2f
je 0x10016b41
inc esi
cmp byte [esi], bl
jne 0x10016b30
jmp 0x10016b44
mov byte [esi], bl
inc esi
push 0
push 0
push 1
push 0
push 0
push 0
push ebp
push dword [0x1005a820]
call dword [0x1005a7ec]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x10016b71
call fcn.10016830
mov esi, eax
jmp 0x10016d44
push esi
push eax
call dword [0x1005a808]
test eax, eax
je 0x10016b87
mov esi, 0xffffb142
jmp 0x10016d2f
push ebp
call fcn.10015bd0
mov esi, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x10016ba0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016ba0
push 0
push 0
push 0
push 0
sub ecx, edx
sar ecx, 1
push ecx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.10015a50
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10016be0
mov esi, 0xfffffc0d
jmp 0x10016d2f
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016be7
mov eax, dword [esp + 0x14]
sub ecx, edx
push 0
push 0
push esi
push eax
sar ecx, 1
push ecx
push dword [esp + 0x30]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push 0
push ecx
lea ecx, [esp + 0x44c]
push ecx
push eax
mov byte [esi + eax], bl
call dword [0x1005a7e8]
test eax, eax
je 0x10016d28
push 0
push 0
push 0xffffffffffffffff
push 0x10002600
lea eax, [esp + 0x454]
push eax
push dword [0x1005a820]
call dword [0x1005a7e4]
mov ebx, eax
test ebx, ebx
je 0x10016d28
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
push 0x20000013
push ebx
call dword [0x1005a818]
test eax, eax
je 0x10016d28
mov eax, dword [esp + 0x2c]
cmp eax, 0xc8
je 0x10016c93
push eax
call fcn.100167f0
jmp 0x10016d2d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.10018a90
test eax, eax
je 0x10016cb7
cmp eax, 0xfffffffc
mov esi, 0xffffec54
mov ecx, 0xfffff8f1
cmove esi, ecx
jmp 0x10016d2f
push 0x1000
call fcn.10015a50
mov edi, eax
test edi, edi
jne 0x10016cce
mov esi, 0xfffffc0d
jmp 0x10016d2f
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edi
push eax
push 0x1000
push edi
push ebx
call dword [0x1005a7f0]
test eax, eax
je 0x10016d28
jmp 0x10016cf0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10016dac
push eax
push edi
push dword [esp + 0x20]
call fcn.10019390
cmp eax, 0xffff
je 0x10016dc0
lea eax, [esp + 0x20]
push eax
push 0x1000
push edi
push ebx
call dword [0x1005a7f0]
test eax, eax
jne 0x10016cf0
call fcn.10069fd6
mov esi, eax
push dword [esp + 0x30]
call dword [0x1005a7f8]
test ebx, ebx
je 0x10016d44
push ebx
call dword [0x1005a7f8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10016d5b
push eax
call fcn.10018a70
push dword [esp + 0x10]
call fcn.10018cc0
test ebp, ebp
je 0x10016d65
push ebp
call fcn.10015bd0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10016d73
push eax
call fcn.10015bd0
test edi, edi
je 0x10016d7d
push edi
call fcn.10015bd0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10016d8f
cmp edi, eax
je 0x10016d8f
push eax
call fcn.10015bd0
mov eax, esi
mov ecx, dword [esp + 0x850]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004491e
add esp, 0x844
ret 0x10
push ebx
call dword [0x1005a7f8]
push dword [esp + 0x18]
call fcn.10018a70
test eax, eax
je 0x10016ddb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
mov esi, 0xfffffc02
mov ecx, 0xfffff8f0
cmove esi, ecx
jmp 0x10016d2f
push edi
call fcn.10015bd0
push ebx
call dword [0x1005a7f8]
xor eax, eax
jmp 0x10016d91