Function at 0x100229b0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x844
mov eax, dword [0x10037d20]
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.100220b0
push dword [esp + 0x85c]
mov esi, dword [esp + 0x868]
push esi
push dword [esp + 0x18]
call fcn.10008910
lea eax, [esp + 0x244]
push eax
push esi
push dword [esp + 0x18]
call fcn.10008850
lea eax, [esp + 0x650]
push eax
push esi
push dword [esp + 0x18]
call fcn.10008850
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 0x10022a8e
movzx eax, word [esi + ecx]
test ax, ax
je 0x10022a8e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10022a70
jmp 0x10022a92
test edx, edx
jne 0x10022a95
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 0x10022aa1
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.10021210
mov ebp, eax
test ebp, ebp
jne 0x10022ae3
mov esi, 0xfffffc0d
jmp 0x10022d34
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022af0
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 0x10022b34
nop
mov al, byte [esi]
cmp al, 0x5c
je 0x10022b31
cmp al, 0x2f
je 0x10022b31
inc esi
cmp byte [esi], bl
jne 0x10022b20
jmp 0x10022b34
mov byte [esi], bl
inc esi
push 0
push 0
push 1
push 0
push 0
push 0
push ebp
push dword [0x10039500]
call dword [0x100394cc]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x10022b61
call fcn.10022820
mov esi, eax
jmp 0x10022d34
push esi
push eax
call dword [0x100394e8]
test eax, eax
je 0x10022b77
mov esi, 0xffffb142
jmp 0x10022d1f
push ebp
call fcn.100213a0
mov esi, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x10022b90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022b90
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.10021210
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10022bd0
mov esi, 0xfffffc0d
jmp 0x10022d1f
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022bd7
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 [0x100394c8]
test eax, eax
je 0x10022d18
push 0
push 0
push 0xffffffffffffffff
push 0x10002258
lea eax, [esp + 0x454]
push eax
push dword [0x10039500]
call dword [0x100394c4]
mov ebx, eax
test ebx, ebx
je 0x10022d18
push 0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
push 0x20000013
push ebx
call dword [0x100394f8]
test eax, eax
je 0x10022d18
mov eax, dword [esp + 0x2c]
cmp eax, 0xc8
je 0x10022c83
push eax
call fcn.100227e0
jmp 0x10022d1d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.10021540
test eax, eax
je 0x10022ca7
cmp eax, 0xfffffffc
mov esi, 0xffffec54
mov ecx, 0xfffff8f1
cmove esi, ecx
jmp 0x10022d1f
push 0x1000
call fcn.10021210
mov edi, eax
test edi, edi
jne 0x10022cbe
mov esi, 0xfffffc0d
jmp 0x10022d1f
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edi
push eax
push 0x1000
push edi
push ebx
call dword [0x100394d0]
test eax, eax
je 0x10022d18
jmp 0x10022ce0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10022d9c
push eax
push edi
push dword [esp + 0x20]
call fcn.10021eb0
cmp eax, 0xffff
je 0x10022db0
lea eax, [esp + 0x20]
push eax
push 0x1000
push edi
push ebx
call dword [0x100394d0]
test eax, eax
jne 0x10022ce0
call fcn.10022820
mov esi, eax
push dword [esp + 0x30]
call dword [0x100394d8]
test ebx, ebx
je 0x10022d34
push ebx
call dword [0x100394d8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10022d4b
push eax
call fcn.10021520
push dword [esp + 0x10]
call fcn.10021720
test ebp, ebp
je 0x10022d55
push ebp
call fcn.100213a0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10022d63
push eax
call fcn.100213a0
test edi, edi
je 0x10022d6d
push edi
call fcn.100213a0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10022d7f
cmp edi, eax
je 0x10022d7f
push eax
call fcn.100213a0
mov eax, esi
mov ecx, dword [esp + 0x850]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10026ae6
add esp, 0x844
ret 0x10
push ebx
call dword [0x100394d8]
push dword [esp + 0x18]
call fcn.10021520
test eax, eax
je 0x10022dcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
mov esi, 0xfffffc02
mov ecx, 0xfffff8f0
cmove esi, ecx
jmp 0x10022d1f
push edi
call fcn.100213a0
push ebx
call dword [0x100394d8]
xor eax, eax
jmp 0x10022d81