Function at 0x100169a0
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.100160a0
push dword [esp + 0x85c]
mov esi, dword [esp + 0x868]
push esi
push dword [esp + 0x18]
call fcn.1000f440
lea eax, [esp + 0x244]
push eax
push esi
push dword [esp + 0x18]
call fcn.1000f380
lea eax, [esp + 0x650]
push eax
push esi
push dword [esp + 0x18]
call fcn.1000f380
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 0x10016a7e
movzx eax, word [esi + ecx]
test ax, ax
je 0x10016a7e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10016a60
jmp 0x10016a82
test edx, edx
jne 0x10016a85
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 0x10016a91
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.10015a30
mov ebp, eax
test ebp, ebp
jne 0x10016ad3
mov esi, 0xfffffc0d
jmp 0x10016d24
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016ae0
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 0x10016b24
nop
mov al, byte [esi]
cmp al, 0x5c
je 0x10016b21
cmp al, 0x2f
je 0x10016b21
inc esi
cmp byte [esi], bl
jne 0x10016b10
jmp 0x10016b24
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 0x10016b51
call fcn.10016810
mov esi, eax
jmp 0x10016d24
push esi
push eax
call dword [0x1005a808]
test eax, eax
je 0x10016b67
mov esi, 0xffffb142
jmp 0x10016d0f
push ebp
call fcn.10015bb0
mov esi, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x10016b80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016b80
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.10015a30
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10016bc0
mov esi, 0xfffffc0d
jmp 0x10016d0f
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016bc7
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 0x10016d08
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 0x10016d08
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 0x10016d08
mov eax, dword [esp + 0x2c]
cmp eax, 0xc8
je 0x10016c73
push eax
call fcn.100167d0
jmp 0x10016d0d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.10018a70
test eax, eax
je 0x10016c97
cmp eax, 0xfffffffc
mov esi, 0xffffec54
mov ecx, 0xfffff8f1
cmove esi, ecx
jmp 0x10016d0f
push 0x1000
call fcn.10015a30
mov edi, eax
test edi, edi
jne 0x10016cae
mov esi, 0xfffffc0d
jmp 0x10016d0f
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edi
push eax
push 0x1000
push edi
push ebx
call dword [0x1005a7f0]
test eax, eax
je 0x10016d08
jmp 0x10016cd0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10016d8c
push eax
push edi
push dword [esp + 0x20]
call fcn.10019370
cmp eax, 0xffff
je 0x10016da0
lea eax, [esp + 0x20]
push eax
push 0x1000
push edi
push ebx
call dword [0x1005a7f0]
test eax, eax
jne 0x10016cd0
call fcn.10016810
mov esi, eax
push dword [esp + 0x30]
call dword [0x1005a7f8]
test ebx, ebx
je 0x10016d24
push ebx
call dword [0x1005a7f8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10016d3b
push eax
call fcn.10018a50
push dword [esp + 0x10]
call fcn.10018ca0
test ebp, ebp
je 0x10016d45
push ebp
call fcn.10015bb0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10016d53
push eax
call fcn.10015bb0
test edi, edi
je 0x10016d5d
push edi
call fcn.10015bb0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10016d6f
cmp edi, eax
je 0x10016d6f
push eax
call fcn.10015bb0
mov eax, esi
mov ecx, dword [esp + 0x850]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004486e
add esp, 0x844
ret 0x10
push ebx
call dword [0x1005a7f8]
push dword [esp + 0x18]
call fcn.10018a50
test eax, eax
je 0x10016dbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
mov esi, 0xfffffc02
mov ecx, 0xfffff8f0
cmove esi, ecx
jmp 0x10016d0f
push edi
call fcn.10015bb0
push ebx
call dword [0x1005a7f8]
xor eax, eax
jmp 0x10016d71