Function at 0x10054140
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
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 - 0x488], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x494], ecx
mov ecx, ebx
lea eax, [ebx + 0xe27a]
mov dword [ebp - 0x48c], ebx
mov dword [ebp - 0x4a0], eax
lea esi, [ebx + 0xde7a]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x49c], 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 - 0x4bc], 0
mov dword [ebp - 0x48], eax
push 0x20
ja 0x1005422c
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 - 0x4c0], 0x50000
mov dword [ebp - 0x14], eax
jmp 0x10054246
lea eax, [ebx + 0x2a9a]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10004c40
mov dword [ebp - 0x4c0], 0x20000000
push 0x400
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.100ae3d0
mov esi, dword [ebp + 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x4c0]
xor ecx, ecx
mov edx, dword [ebp - 0x488]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4b8], ecx
mov dword [ebp - 0x490], esi
jmp 0x10054280
mov eax, ecx
mov ecx, esi
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 0x4a8], ecx
cmp ecx, eax
jb 0x10054300
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + 0xde7a]
cmp eax, ecx
jb case.default.0x10054359
lea ecx, [ebx + 0xe27a]
cmp eax, ecx
jae case.default.0x10054359
mov esi, dword [eax]
add dword [ebp - 0x14], 4
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
cmp ecx, 0x2000
ja 0x1005427e
mov eax, esi
sub eax, dword [ebp + 0x14]
cmp eax, ecx
jbe 0x1005427e
add eax, 2
mov ecx, ebx
mov dword [ebx + 0x2a92], eax
lea eax, [ebp - 0x24]
push 0x20
push eax
lea eax, [ebx + 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
lea ebx, [edx + ecx]
mov dl, byte [ebx + 1]
mov al, dl
mov dword [ebp - 0x4b0], ebx
shr al, 6
mov dh, dl
mov byte [ebp - 0x4a9], al
mov al, dl
and al, 7
shr dh, 3
mov byte [ebp - 0x495], al
and dh, 7
mov eax, dword [ebp - 0x4bc]
inc dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4c0]
jg case.default.0x10054359
mov al, byte [ebx]
mov byte [ebp - 0x4a1], al
movzx eax, al
mov dword [ebp - 0x4b4], eax
movzx eax, byte [eax + 0x10056b3c]
jmp dword [eax*4 + 0x10056a38]
mov al, dl
and al, 0xc0
cmp al, 0xc0
jne 0x100566ed
movzx edx, dl
add esi, 2
mov eax, edx
mov dword [ebp - 0x490], esi
and eax, 7
shr edx, 3
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
nop
mov ebx, dword [ebp - 0x48c]
mov edx, dword [ebp - 0x488]
mov eax, dword [ebp + 0x10]
jmp 0x10054280
mov al, dl
and al, 0xc0
cmp al, 0xc0
jne 0x100543e3
mov ebx, dword [ebp - 0x48c]
lea ecx, [ebp - 0x24]
movzx edx, dl
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 - 0x488]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
test al, al
jne 0x100566ed
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.0x10054359
mov ebx, dword [ebp - 0x48c]
shr ecx, 3
and ecx, 7
mov eax, dword [ebp + ecx*4 - 0x24]
mov ecx, dword [ebp - 0x488]
mov edx, ecx
add dword [ecx + edi], eax
add esi, 2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
mov al, dl
and al, 0xc0
cmp al, 0xc0
jne 0x10054472
mov ebx, dword [ebp - 0x48c]
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 edx, dword [ebp - 0x488]
mov al, byte [eax]
add byte [ecx], al
mov eax, 2
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
mov ah, dl
and ah, 0xc7
cmp ah, 4
jne 0x100544d8
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.0x10054359
mov ebx, dword [ebp - 0x488]
movzx ecx, dl
mov edx, dword [ebp - 0x488]
shr ecx, 3
mov al, byte [ebx + edi]
and ecx, 7
mov ebx, dword [ebp - 0x48c]
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 3
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
test al, al
jne 0x1005452a
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.0x10054359
mov ebx, dword [ebp - 0x488]
mov edx, dword [ebp - 0x488]
shr ecx, 3
and ecx, 7
mov al, byte [ebx + edi]
mov ebx, dword [ebp - 0x48c]
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 2
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
cmp ah, 0x44
jne 0x10054598
mov eax, dword [ebp - 0x488]
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.0x10054359
mov eax, dword [ebp - 0x488]
mov ebx, dword [ebp - 0x48c]
movzx ecx, dl
mov edx, dword [ebp - 0x488]
mov al, byte [eax + edi]
shr ecx, 3
and ecx, 7
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 4
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
cmp al, 0x40
jne 0x100545f0
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.0x10054359
mov eax, dword [ebp - 0x488]
mov ebx, dword [ebp - 0x48c]
shr edx, 3
and edx, 7
mov al, byte [eax + edi]
mov ecx, dword [ebp + edx*4 - 0x44]
mov edx, dword [ebp - 0x488]
add byte [ecx], al
mov eax, 3
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
cmp ah, 0x84
jne 0x100566ed
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.0x10054359
mov eax, dword [ebp - 0x488]
mov ebx, dword [ebp - 0x48c]
movzx ecx, dl
mov edx, dword [ebp - 0x488]
mov al, byte [eax + edi]
shr ecx, 3
and ecx, 7
mov ecx, dword [ebp + ecx*4 - 0x44]
add byte [ecx], al
mov eax, 7
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
mov al, dl
and al, 0xc7
cmp al, 4
jne 0x100546b1
cmp byte [ebx + 2], 0x24
jne 0x100546b1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x49c]
jb case.default.0x10054359
cmp eax, dword [ebp - 0x4a0]
jae case.default.0x10054359
mov eax, dword [eax]
mov ebx, dword [ebp - 0x48c]
movzx ecx, dl
mov edx, dword [ebp - 0x488]
shr ecx, 3
and ecx, 7
add dword [ebp + ecx*4 - 0x24], eax
mov eax, 3
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
mov ah, dl
and ah, 0xc0
jne 0x100546f0
cmp al, 5
je 0x100566ed
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.0x10054359
mov eax, dword [ebp - 0x488]
shr ecx, 3
and ecx, 7
mov eax, dword [eax + edi]
add dword [ebp + ecx*4 - 0x24], eax
jmp 0x1005479a
cmp ah, 0x40
jne 0x1005474f
cmp al, 0x44
je 0x100566ed
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.0x10054359
mov eax, dword [ebp - 0x488]
mov ebx, dword [ebp - 0x48c]
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 - 0x488]
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
cmp ah, 0xc0
jne 0x100566ed
movzx ecx, dl
lea edx, [ebp - 0x24]
mov eax, ecx
shr eax, 3
and eax, 7
and ecx, 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 - 0x494]
mov dword [edx + 0x18], esi
mov esi, dword [ebp - 0x490]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], ecx
mov dword [edx + 0x28], 3
mov dword [edx], 0x111111
mov ebx, dword [ebp - 0x48c]
mov eax, 2
mov edx, dword [ebp - 0x488]
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
mov eax, dword [ebx + 1]
add esi, 5
add dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x48c]
mov edx, dword [ebp - 0x488]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
mov edx, dword [ebp - 0x4b8]
cmp edx, 0x100
jbe 0x10056743
mov ecx, dword [ebp - 0x4b8]
xor edx, edx
dec ecx
mov eax, ecx
and eax, 0x800000ff
jns 0x10056714
dec eax
or eax, 0xffffff00
inc eax
mov esi, dword [ebp - 0x4a8]
cmp dword [ebp + eax*4 - 0x484], esi
mov esi, dword [ebp - 0x490]
je case.default.0x10054359
inc edx
dec ecx
cmp edx, 0xff
jl 0x10056704
mov ecx, dword [ebp - 0x4a8]
mov edx, dword [ebp - 0x4b8]
movzx eax, dl
inc edx
push ebx
mov ebx, dword [ebp - 0x48c]
mov dword [ebp - 0x4b8], edx
mov dword [ebp + eax*4 - 0x484], ecx
mov ecx, ebx
call fcn.10009d90
movzx eax, ax
test eax, eax
je case.default.0x10054359
mov edx, dword [ebp - 0x488]
add esi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], esi
jmp 0x10054280
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