Function at 0x10059090
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a0
mov eax, dword [0x10172044]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x2000
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x468], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x470], ecx
mov ecx, ebx
lea eax, [ebx + 0xe27a]
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x47c], eax
lea esi, [ebx + 0xde7a]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x23]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1f]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x1b]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x17]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x48], eax
push 0x20
ja 0x1005917c
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.10004cf0
push 0x400
push 0
push esi
mov ecx, ebx
call fcn.10004cf0
lea eax, [esi + 0x3f8]
mov dword [ebp - 0x4a0], 0x50000
mov dword [ebp - 0x14], eax
jmp 0x10059196
lea eax, [ebx + 0x2a9a]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10004c40
mov dword [ebp - 0x4a0], 0x20000000
push 0x400
lea eax, [ebp - 0x464]
push 0
push eax
call fcn.100ae3d0
mov esi, dword [ebp + 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x4a0]
xor ecx, ecx
mov dword [ebp - 0x498], ecx
mov dword [ebp - 0x46c], esi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x468]
nop
mov ecx, esi
sub ecx, edx
mov dword [ebp - 0x484], ecx
cmp ecx, eax
jb 0x10059224
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [ebp - 0x478]
jb case.default.0x1005927d
cmp ebx, dword [ebp - 0x47c]
jae case.default.0x1005927d
mov esi, dword [ebx]
add dword [ebp - 0x14], 4
mov ebx, dword [ebp - 0x468]
mov dword [ebp - 0x46c], esi
cmp eax, 0x2000
ja 0x100591d0
mov eax, esi
sub eax, edx
cmp eax, dword [ebp + 0x10]
ja 0x1005b336
mov eax, dword [ebp + 0x10]
jmp 0x100591d0
mov dl, byte [ebx + ecx + 1]
add ebx, ecx
mov al, dl
mov dword [ebp - 0x494], ebx
shr al, 6
mov dh, dl
mov byte [ebp - 0x489], al
mov al, dl
and al, 7
shr dh, 3
mov byte [ebp - 0x471], al
and dh, 7
mov eax, dword [ebp - 0x49c]
inc dword [ebp - 0x49c]
cmp eax, dword [ebp - 0x4a0]
jg case.default.0x1005927d
mov al, byte [ebx]
mov byte [ebp - 0x47d], al
movzx eax, al
mov dword [ebp - 0x490], eax
movzx eax, byte [eax + 0x1005b68c]
jmp dword [eax*4 + 0x1005b588]
mov al, dl
and al, 0xc0
cmp al, 0xc0
jne 0x1005a0ac
movzx edx, dl
add esi, 2
mov eax, edx
shr edx, 3
and eax, 7
and edx, 7
mov ecx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp + edx*4 - 0x44]
mov al, byte [eax]
add byte [ecx], al
jmp 0x100591bd
mov al, dl
and al, 0xc0
cmp al, 0xc0
jne 0x100592e5
movzx edx, dl
lea ecx, [ebp - 0x24]
mov eax, edx
shr edx, 3
and eax, 7
and edx, 7
lea ecx, [ecx + eax*4]
mov eax, dword [ebp + edx*4 - 0x24]
add dword [ecx], eax
add esi, 2
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x46c], esi
jmp 0x100591c6
test al, al
jne 0x1005a0ac
movzx ecx, dl
mov edx, dword [ebp + 0x14]
mov eax, ecx
and eax, 7
mov edi, dword [ebp + eax*4 - 0x24]
sub edi, edx
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
shr ecx, 3
and ecx, 7
mov eax, dword [ebp + ecx*4 - 0x24]
mov ecx, dword [ebp - 0x468]
add dword [ecx + edi], eax
add esi, 2
mov dword [ebp - 0x46c], esi
jmp 0x100591c6
mov al, dl
and al, 0xc0
cmp al, 0xc0
jne 0x10059356
movzx edx, dl
mov eax, edx
and edx, 7
shr eax, 3
and eax, 7
mov ecx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp + edx*4 - 0x44]
mov al, byte [eax]
add byte [ecx], al
mov eax, 2
add esi, eax
jmp 0x100591bd
mov ah, dl
and ah, 0xc7
cmp ah, 4
jne 0x100593a7
movzx ecx, byte [ebx + 2]
mov eax, ecx
and ecx, 7
shr eax, 3
and eax, 7
mov edi, dword [ebp + eax*4 - 0x24]
add edi, dword [ebp + ecx*4 - 0x24]
sub edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
movzx ecx, dl
mov edx, dword [ebp - 0x468]
shr ecx, 3
and ecx, 7
mov al, byte [edx + edi]
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 3
add esi, eax
jmp 0x100591bd
test al, al
jne 0x100593e4
movzx ecx, dl
mov eax, ecx
and eax, 7
mov edi, dword [ebp + eax*4 - 0x24]
sub edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
mov edx, dword [ebp - 0x468]
shr ecx, 3
and ecx, 7
mov al, byte [edx + edi]
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 2
add esi, eax
jmp 0x100591bd
cmp ah, 0x44
jne 0x1005943d
mov eax, dword [ebp - 0x468]
movzx ecx, byte [eax + ecx + 2]
mov eax, ecx
and ecx, 7
shr eax, 3
and eax, 7
mov edi, dword [ebp + eax*4 - 0x24]
add edi, dword [ebp + ecx*4 - 0x24]
movsx eax, byte [ebx + 3]
add edi, eax
sub edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
mov eax, dword [ebp - 0x468]
movzx ecx, dl
shr ecx, 3
and ecx, 7
mov al, byte [eax + edi]
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 4
add esi, eax
jmp 0x100591bd
cmp al, 0x40
jne 0x10059480
movsx eax, byte [ebx + 2]
movzx edx, dl
mov ecx, edx
and ecx, 7
mov edi, dword [ebp + ecx*4 - 0x24]
add edi, eax
sub edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
mov eax, dword [ebp - 0x468]
shr edx, 3
and edx, 7
mov al, byte [eax + edi]
mov ecx, dword [ebp + edx*4 - 0x44]
add byte [ecx], al
mov eax, 3
add esi, eax
jmp 0x100591bd
cmp ah, 0x84
jne 0x1005a0ac
movzx ecx, byte [ebx + 2]
mov eax, ecx
and ecx, 7
shr eax, 3
and eax, 7
mov edi, dword [ebp + eax*4 - 0x24]
add edi, dword [ebp + ecx*4 - 0x24]
add edi, dword [ebx + 3]
sub edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
mov eax, dword [ebp - 0x468]
movzx ecx, dl
shr ecx, 3
and ecx, 7
mov al, byte [eax + edi]
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 7
add esi, eax
jmp 0x100591bd
mov al, dl
and al, 0xc7
cmp al, 4
jne 0x10059520
cmp byte [ebx + 2], 0x24
jne 0x10059520
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [ebp - 0x478]
jb case.default.0x1005927d
cmp ebx, dword [ebp - 0x47c]
jae case.default.0x1005927d
mov eax, dword [ebx]
movzx ecx, dl
mov edx, dword [ebp + 0x14]
shr ecx, 3
and ecx, 7
add dword [ebp + ecx*4 - 0x24], eax
mov eax, 3
add esi, eax
mov dword [ebp - 0x46c], esi
jmp 0x100591c6
mov ah, dl
and ah, 0xc0
jne 0x1005956e
cmp al, 5
je 0x1005a0ac
movzx ecx, dl
mov edx, dword [ebp + 0x14]
mov eax, ecx
and eax, 7
mov edi, dword [ebp + eax*4 - 0x24]
sub edi, edx
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
mov eax, dword [ebp - 0x468]
shr ecx, 3
and ecx, 7
mov eax, dword [eax + edi]
add dword [ebp + ecx*4 - 0x24], eax
mov eax, 2
add esi, eax
mov dword [ebp - 0x46c], esi
jmp 0x100591c6
cmp ah, 0x40
jne 0x100595c1
cmp al, 0x44
je 0x1005a0ac
movsx eax, byte [ebx + 2]
movzx edx, dl
mov ecx, edx
and ecx, 7
mov edi, dword [ebp + ecx*4 - 0x24]
add edi, eax
sub edi, dword [ebp + 0x14]
cmp edi, dword [ebp + 0x10]
jae case.default.0x1005927d
mov eax, dword [ebp - 0x468]
shr edx, 3
and edx, 7
mov eax, dword [eax + edi]
add dword [ebp + edx*4 - 0x24], eax
mov eax, 3
mov edx, dword [ebp + 0x14]
add esi, eax
mov dword [ebp - 0x46c], esi
jmp 0x100591c6
cmp ah, 0xc0
jne 0x1005a0ac
movzx ecx, dl
lea edx, [ebp - 0x24]
mov eax, ecx
and ecx, 7
shr eax, 3
and eax, 7
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov eax, dword [ebp + ecx*4 - 0x24]
lea ecx, [esi + eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x18], esi
mov esi, dword [ebp - 0x46c]
mov dword [edx + 0x1c], eax
mov eax, 2
add esi, eax
mov dword [edx + 0x20], ecx
mov dword [edx + 0x28], 3
mov dword [edx], 0x111111
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x46c], esi
jmp 0x100591c6
mov eax, dword [ebx + 1]
add esi, 5
add dword [ebp - 0x24], eax
jmp 0x100591bd
mov edx, dword [ebp - 0x498]
cmp edx, 0x100
jbe 0x1005a102
mov ecx, dword [ebp - 0x498]
xor edx, edx
dec ecx
mov eax, ecx
and eax, 0x800000ff
jns 0x1005a0d3
dec eax
or eax, 0xffffff00
inc eax
mov esi, dword [ebp - 0x484]
cmp dword [ebp + eax*4 - 0x464], esi
mov esi, dword [ebp - 0x46c]
je case.default.0x1005927d
inc edx
dec ecx
cmp edx, 0xff
jl 0x1005a0c3
mov ecx, dword [ebp - 0x484]
mov edx, dword [ebp - 0x498]
movzx eax, dl
inc edx
push ebx
mov dword [ebp - 0x498], edx
mov dword [ebp + eax*4 - 0x464], ecx
mov ecx, dword [ebp - 0x488]
call fcn.10009d90
movzx eax, ax
test eax, eax
je case.default.0x1005927d
add esi, eax
jmp 0x100591bd
add eax, 2
mov ecx, dword [ebp - 0x488]
push 0x20
mov dword [ecx + 0x2a92], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ecx + 0x2a9a]
push eax
call fcn.10004c40
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad43d
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ad43d
mov esp, ebp
pop ebp
ret 0x14