Function at 0x100228d0
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.10021fd0
push dword [esp + 0x85c]
mov esi, dword [esp + 0x868]
push esi
push dword [esp + 0x18]
call fcn.10008900
lea eax, [esp + 0x244]
push eax
push esi
push dword [esp + 0x18]
call fcn.10008840
lea eax, [esp + 0x650]
push eax
push esi
push dword [esp + 0x18]
call fcn.10008840
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 0x100229ae
movzx eax, word [esi + ecx]
test ax, ax
je 0x100229ae
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10022990
jmp 0x100229b2
test edx, edx
jne 0x100229b5
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 0x100229c1
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.10021140
mov ebp, eax
test ebp, ebp
jne 0x10022a03
mov esi, 0xfffffc0d
jmp 0x10022c54
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022a10
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 0x10022a54
nop
mov al, byte [esi]
cmp al, 0x5c
je 0x10022a51
cmp al, 0x2f
je 0x10022a51
inc esi
cmp byte [esi], bl
jne 0x10022a40
jmp 0x10022a54
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 0x10022a81
call fcn.10046c28
mov esi, eax
jmp 0x10022c54
push esi
push eax
call dword [0x100394e8]
test eax, eax
je 0x10022a97
mov esi, 0xffffb142
jmp 0x10022c3f
push ebp
call fcn.100212c0
mov esi, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x10022ab0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022ab0
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.10021140
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10022af0
mov esi, 0xfffffc0d
jmp 0x10022c3f
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022af7
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 0x10022c38
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 0x10022c38
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 0x10022c38
mov eax, dword [esp + 0x2c]
cmp eax, 0xc8
je 0x10022ba3
push eax
call fcn.10022700
jmp 0x10022c3d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.10021460
test eax, eax
je 0x10022bc7
cmp eax, 0xfffffffc
mov esi, 0xffffec54
mov ecx, 0xfffff8f1
cmove esi, ecx
jmp 0x10022c3f
push 0x1000
call fcn.10021140
mov edi, eax
test edi, edi
jne 0x10022bde
mov esi, 0xfffffc0d
jmp 0x10022c3f
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edi
push eax
push 0x1000
push edi
push ebx
call dword [0x100394d0]
test eax, eax
je 0x10022c38
jmp 0x10022c00
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10022cbc
push eax
push edi
push dword [esp + 0x20]
call fcn.10021dd0
cmp eax, 0xffff
je 0x10022cd0
lea eax, [esp + 0x20]
push eax
push 0x1000
push edi
push ebx
call dword [0x100394d0]
test eax, eax
jne 0x10022c00
call fcn.10022740
mov esi, eax
push dword [esp + 0x30]
call dword [0x100394d8]
test ebx, ebx
je 0x10022c54
push ebx
call dword [0x100394d8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10022c6b
push eax
call fcn.10021440
push dword [esp + 0x10]
call fcn.10021640
test ebp, ebp
je 0x10022c75
push ebp
call fcn.100212c0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10022c83
push eax
call fcn.100212c0
test edi, edi
je 0x10022c8d
push edi
call fcn.100212c0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10022c9f
cmp edi, eax
je 0x10022c9f
push eax
call fcn.100212c0
mov eax, esi
mov ecx, dword [esp + 0x850]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100269f6
add esp, 0x844
ret 0x10
push ebx
call dword [0x100394d8]
push dword [esp + 0x18]
call fcn.10021440
test eax, eax
je 0x10022ceb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
mov esi, 0xfffffc02
mov ecx, 0xfffff8f0
cmove esi, ecx
jmp 0x10022c3f
push edi
call fcn.100212c0
push ebx
call dword [0x100394d8]
xor eax, eax
jmp 0x10022ca1