Function at 0x4a4370
Capabilities:
Check http status code

Disassembly:
sub esp, 0x160
mov edx, dword [esp + 0x164]
push ebx
mov ebx, ecx
mov dword [esp + 0x10], ebx
push edi
test edx, edx
je 0x4a4e86
mov edi, dword [esp + 0x170]
cmp edi, 0x400
jb 0x4a4e86
cmp dword [edx], 0x464d4444
jne 0x4a4e86
mov al, byte [edx + 4]
test al, al
je 0x4a4e86
test al, 0xf0
jne 0x4a4e86
movups xmm0, xmmword [edx + 0xd]
lea ecx, [ebx + 0xe99c]
push ebp
movups xmmword [ecx], xmm0
mov ebp, 0xff
mov dword [esp + 0x54], ecx
movq xmm0, qword [edx + 0x1d]
movq qword [ecx + 0x10], xmm0
mov eax, dword [edx + 0x25]
mov dword [ecx + 0x18], eax
mov ax, word [edx + 0x29]
push esi
mov esi, 0x42
mov word [ecx + 0x1c], ax
mov byte [ebx + 0xe9ba], 0
mov dword [esp + 0x18], esi
mov dword [ebx + 0xe920], 0x20000
mov dword [ebx + 0xe910], 0
mov eax, dword [esi + edx]
lea ecx, [esi + edx]
mov dword [esp + 0x24], ecx
cmp eax, 0x49504d53
ja 0x4a475e
je 0x4a45d4
cmp eax, 0x44504d53
je 0x4a4500
cmp eax, 0x45444e45
je 0x4a4e68
cmp eax, 0x47534d43
jne 0x4a4777
mov ecx, dword [ecx + 4]
lea ebp, [esi + 1]
cmp eax, 0x47534d43
cmovne ebp, esi
mov dword [esp + 0x48], ebp
cmp ecx, edi
ja 0x4a4e68
lea eax, [ebp + 8]
add eax, ecx
cmp eax, edi
ja 0x4a4e68
cmp ecx, 8
jb 0x4a4e41
cmp dword [ebx + 0xe994], 0
jne 0x4a4e41
push ecx
call fcn.0055b188
add esp, 4
mov dword [ebx + 0xe994], eax
test eax, eax
je 0x4a4e41
mov eax, dword [esp + 0x24]
xor esi, esi
mov ecx, dword [eax + 4]
lea eax, [ecx - 1]
test eax, eax
je 0x4a4e36
mov ebx, dword [esp + 0x174]
add ebx, 8
add ebx, ebp
mov ebp, dword [esp + 0x1c]
nop word [eax + eax]
mov al, byte [ebx]
mov edi, dword [ebp + 0xe994]
mov byte [esp + 0x2f], al
mov eax, 0xcccccccd
mul esi
mov eax, esi
shr edx, 5
lea ecx, [edx + edx*4]
shl ecx, 3
sub eax, ecx
cmp eax, 0x27
jne 0x4a4dfe
mov al, 0xd
jmp 0x4a4e10
mov ecx, dword [ebx + 0xe924]
add esi, 8
mov edi, 1
mov dword [esp + 0x18], esi
cmp ecx, edi
jb 0x4a45c8
lea ebp, [esp + 0x80]
add ebx, 0x8240
nop word [eax + eax]
lea edx, [esi + 4]
lea ebp, [ebp + 1]
cmp edx, dword [esp + 0x178]
jae 0x4a45c4
mov eax, dword [esp + 0x174]
mov dword [esp + 0x18], edx
mov eax, dword [esi + eax]
mov esi, dword [esp + 0x178]
sub esi, edx
cmp eax, esi
cmovbe esi, eax
test esi, esi
je 0x4a45a6
cmp edi, ecx
ja 0x4a45a6
movzx edx, word [ebx + 0x22]
mov al, dl
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 5
test byte [ebp], 4
je 0x4a458a
mov ecx, edx
and ecx, 1
shl ecx, 2
or ecx, 0x13
mov eax, dword [esp + 0x174]
add eax, dword [esp + 0x18]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ebx
call fcn.00490d00
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, esi
inc edi
mov dword [esp + 0x18], edx
add ebx, 0x40
mov esi, edx
mov ecx, dword [eax + 0xe924]
cmp edi, ecx
jbe 0x4a4530
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x178]
jmp 0x4a4e51
mov eax, edi
sub eax, esi
cmp dword [ecx + 4], eax
ja 0x4a4753
movzx eax, byte [ecx + 8]
add esi, 9
mov dword [ebx + 0xe924], eax
cmp eax, 0xf0
jb 0x4a4606
mov dword [ebx + 0xe924], 0xef
mov ebx, 1
jmp 0x4a4613
mov ebx, 1
cmp eax, ebx
jb 0x4a474b
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], 0x20
add edi, 0x8248
mov eax, dword [ecx + 4]
lea ebp, [esi + edx]
movzx edx, byte [ebp]
mov ecx, dword [esp + 0x18]
add esi, edx
add ecx, 8
mov byte [esp + ebx + 0x80], 0
add ecx, eax
mov dword [esp + 0x38], esi
lea eax, [esi + 0x11]
cmp eax, ecx
ja 0x4a4740
test edx, edx
je 0x4a468d
cmp edx, 0x20
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x28]
mov esi, 0x1f
cmovb esi, edx
push esi
push eax
mov eax, dword [esp + 0x60]
add eax, ebp
push eax
call fcn.004692b0
mov ecx, dword [esp + 0x28]
lea eax, [esi + ebp]
mov esi, dword [esp + 0x44]
add esp, 0xc
mov byte [eax + ecx + 0xe99c], 0
jmp 0x4a4691
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x174]
inc esi
mov edx, dword [esi + ecx]
mov dword [edi - 8], edx
mov eax, dword [esi + ecx + 4]
mov dword [edi - 4], eax
mov eax, dword [esi + ecx + 8]
mov dword [edi], eax
movzx eax, word [esi + ecx + 0xc]
mov dword [edi + 0x10], eax
mov eax, 0x40
mov word [edi + 0x18], ax
mov al, byte [esi + ecx + 0xe]
test al, al
je 0x4a46cf
movzx eax, al
inc ax
movzx eax, ax
jmp 0x4a46d4
mov eax, 0x100
mov word [edi + 0x16], ax
mov al, byte [esi + ecx + 0xf]
shr al, 1
and al, 1
movzx eax, al
mov ecx, eax
mov word [edi + 0x1a], ax
test cx, cx
je 0x4a46f3
shr edx, 1
mov dword [edi - 8], edx
mov edx, dword [esp + 0x174]
test byte [esi + edx + 0xf], 1
je 0x4a4708
or ecx, 2
mov word [edi + 0x1a], cx
mov al, byte [esi + edx + 0xf]
cmp byte [edx + 4], 8
mov ecx, dword [esp + 0x24]
mov byte [esp + ebx + 0x80], al
sbb eax, eax
and eax, 0xfffffff8
inc ebx
add eax, 0x1e
add ebp, 0x20
add esi, eax
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x1c]
add edi, 0x40
cmp ebx, dword [eax + 0xe924]
jbe 0x4a4625
mov edi, dword [esp + 0x178]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add esi, 8
add esi, dword [ecx + 4]
jmp 0x4a4e4d
cmp eax, 0x4f464e49
je 0x4a444f
cmp eax, 0x54544150
je 0x4a47e0
cmp eax, 0x55514553
je 0x4a477f
add esi, 4
jmp 0x4a4e4d
mov edx, dword [ecx + 4]
cmp edx, edi
jae 0x4a4e68
lea eax, [esi + 0xc]
add eax, edx
cmp eax, edi
ja 0x4a4e68
movzx eax, word [ecx + 8]
shr edx, 1
cmp edx, 0xff
cmovae edx, ebp
cmp eax, edx
jae 0x4a47b0
mov dword [ebx + 0xe958], eax
mov ebp, dword [esp + 0x24]
xor ecx, ecx
test edx, edx
je 0x4a47d5
lea esi, [ebp + 0xc]
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 2]
mov byte [ebx + ecx + 0xd060], al
inc ecx
cmp ecx, edx
jb 0x4a47c0
mov esi, dword [esp + 0x18]
add esi, 8
add esi, dword [ebp + 4]
jmp 0x4a4e4d
cmp dword [ebx + 0xe910], 0
jne 0x4a4e51
mov eax, dword [ecx + 4]
lea ebp, [esi + 0xb]
cmp eax, edi
jae 0x4a4e68
add eax, 8
add eax, esi
cmp eax, edi
ja 0x4a4e68
movzx eax, word [ecx + 8]
mov edi, 0xf0
movzx ecx, byte [ecx + 0xa]
cmp eax, 0xf0
mov dword [ebx + 0xe910], ecx
cmova eax, edi
mov dword [esp + 0x38], eax
lea eax, [esi + edx]
movzx eax, byte [eax + 0xb]
cmp ecx, eax
jae 0x4a483a
mov dword [ebx + 0xe910], eax
mov ecx, eax
cmp ecx, 0x20
jbe 0x4a484b
mov dword [ebx + 0xe910], 0x20
jmp 0x4a4862
mov eax, dword [ebx + 0xe910]
cmp ecx, 4
mov ecx, 4
cmovb eax, ecx
mov dword [ebx + 0xe910], eax
xor edi, edi
mov dword [esp + 0x54], edi
cmp dword [esp + 0x38], edi
jbe 0x4a4de9
movzx eax, byte [edx + ebp]
lea esi, [edx + ebp]
cmp eax, 0x20
mov ecx, 0x20
cmova eax, ecx
movzx ecx, word [esi + 2]
mov dword [esp + 0x4c], eax
cmp ecx, 0x100
jbe 0x4a489b
mov ecx, 0x100
jmp 0x4a48a6
cmp ecx, 0x10
mov eax, 0x10
cmovb ecx, eax
mov eax, dword [esi + 4]
add ebp, 8
mov edx, dword [esp + 0x178]
mov dword [esp + 0x44], ecx
cmp eax, edx
jae 0x4a4de5
add eax, 4
add eax, ebp
cmp eax, edx
jae 0x4a4de5
movzx eax, cx
mov word [ebx + edi*2 + 0xce80], ax
push dword [ebx + 0xe910]
push eax
call fcn.0048fee0
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4a4e68
mov dword [ebx + edi*4 + 0xcac0], eax
mov edi, ebp
mov cl, byte [esi + 1]
add ebp, dword [esi + 4]
mov al, cl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0x7d
mov dword [esp + 0x3c], 0
and al, 0xf0
je 0x4a492f
movzx ecx, cl
shr ecx, 4
mov dword [esp + 0x40], ecx
jmp 0x4a4937
mov dword [esp + 0x40], 8
xor ecx, ecx
xorps xmm0, xmm0
test al, al
movups xmmword [esp + 0x60], xmm0
setne cl
xor edx, edx
mov dword [esp + 0x20], ecx
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x50], edx
cmp dword [esp + 0x44], edx
jbe 0x4a4dbf
nop
mov eax, dword [ebx + 0xe910]
mov esi, dword [esp + 0x3c]
imul eax, edx
mov edx, dword [esp + 0x5c]
lea eax, [eax + eax*2]
lea ebp, [edx + eax*2]
mov edx, dword [esp + 0x174]
mov dword [esp + 0x48], ebp
test esi, esi
jne 0x4a4a0b
mov al, byte [edi + edx]
xor cl, cl
mov ebx, dword [esp + 0x28]
inc edi
test al, al
jns 0x4a49a5
cmp edi, ebx
jae 0x4a49a5
movzx esi, byte [edi + edx]
inc edi
mov dword [esp + 0x3c], esi
and al, 0x7f
je 0x4a49b1
cmp edi, ebx
jae 0x4a49b1
mov cl, byte [edi + edx]
inc edi
movzx eax, al
sub eax, 1
je 0x4a49f1
sub eax, 1
je 0x4a49d7
sub eax, 1
jne 0x4a4a12
movzx eax, cl
mov ecx, dword [esp + 0x30]
shr eax, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], ecx
jmp 0x4a4a16
movzx eax, cl
mov ecx, 1
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ecx
jmp 0x4a4a16
movzx eax, cl
mov ecx, 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ecx
jmp 0x4a4a16
dec esi
mov dword [esp + 0x3c], esi
jmp 0x4a4a16
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x4c], esi
jbe 0x4a4ce4
jmp 0x4a4a37
mov edx, dword [esp + 0x174]
mov al, byte [esp + esi + 0x60]
test al, al
jne 0x4a4cc8
mov bl, byte [edi + edx]
xor cl, cl
xor ch, ch
mov dword [esp + 0x10], 0
inc edi
mov word [esp + 0x14], 0
test bl, bl
jns 0x4a4a66
mov al, byte [edi + edx]
inc edi
mov byte [esp + esi + 0x60], al
test bl, 0x40
je 0x4a4a73
mov al, byte [edi + edx]
inc edi
mov byte [esp + 0x11], al
test bl, 0x20
je 0x4a4aa0
mov cl, byte [edi + edx]
inc edi
mov byte [esp + 0x10], cl
test cl, cl
je 0x4a4aa0
cmp cl, 0xfe
jae 0x4a4a90
and cl, 0x7f
mov byte [esp + 0x10], cl
test cl, cl
je 0x4a4aa0
cmp cl, 0x80
jae 0x4a4aa0
add cl, 0x18
mov byte [esp + 0x10], cl
test bl, 0x10
je 0x4a4aba
movzx eax, byte [edi + edx]
mov ch, 1
add eax, 3
mov byte [esp + 0x12], ch
shr eax, 2
inc edi
mov byte [esp + 0x14], al
test bl, 8
je 0x4a4b1d
mov al, byte [edi + edx]
mov dl, byte [edi + edx + 1]
add edi, 2
movzx eax, al
dec eax
cmp eax, 5
ja case.0x4a4ad2.2
jmp dword [eax*4 + 0x4a4eb0]
mov edx, dword [esp + 0x174]
test cl, cl
jne 0x4a4b1d
mov cl, 0xfe
mov byte [esp + 0x10], cl
jmp 0x4a4b1d
test dl, 0xe0
je case.0x4a4ad2.2
shr dl, 5
mov byte [esp + 0x13], 0x14
or dl, 0xd0
jmp 0x4a4b12
test dl, 0xe0
je case.0x4a4ad2.2
mov byte [esp + 0x13], 0xf
shr dl, 5
jmp 0x4a4b12
mov byte [esp + 0x13], 0xa
mov byte [esp + 0x15], dl
mov edx, dword [esp + 0x174]
test bl, 4
je case.0x4a4b3d.7
mov al, byte [edi + edx]
mov dl, byte [edi + edx + 1]
add edi, 2
movzx eax, al
dec eax
cmp eax, 0xb
ja case.0x4a4b3d.7
jmp dword [eax*4 + 0x4a4ec8]
test dl, 0xf0
je case.0x4a4b3d.7
shr dl, 4
or dl, 0x20
mov byte [esp + 0x13], 0x14
mov byte [esp + 0x15], dl
jmp case.0x4a4b3d.7
test dl, 0xe0
je case.0x4a4b3d.7
shr dl, 5
or dl, 0xd0
mov byte [esp + 0x13], 0x14
mov byte [esp + 0x15], dl
jmp case.0x4a4b3d.7
test dl, dl
je case.0x4a4b3d.7
mov byte [esp + 0x13], 1
mov byte [esp + 0x15], dl
jmp case.0x4a4b3d.7
mov byte [esp + 0x13], 2
movzx eax, dl
cmp dl, 0xe0
mov edx, 0xdf
cmovae eax, edx
mov byte [esp + 0x15], al
jmp case.0x4a4b3d.7
mov byte [esp + 0x13], 3
jmp 0x4a4b8b
mov byte [esp + 0x13], 4
mov byte [esp + 0x15], dl
jmp case.0x4a4b3d.7
mov byte [esp + 0x13], 5
mov byte [esp + 0x15], dl
jmp case.0x4a4b3d.7
test dl, 0xe0
je 0x4a4bd2
shr dl, 5
or dl, 0xc0
mov byte [esp + 0x13], 0x14
mov byte [esp + 0x15], dl
jmp case.0x4a4b3d.7
test cl, cl
movzx eax, cl
mov edx, 0xfe
cmove eax, edx
mov byte [esp + 0x10], al
test bl, 2
je case.0x4a4c0a.3
mov edx, dword [esp + 0x174]
mov al, byte [edi + edx]
mov cl, byte [edi + edx + 1]
add edi, 2
movzx eax, al
dec eax
cmp eax, 8
ja case.0x4a4c0a.3
jmp dword [eax*4 + 0x4a4ef8]
cmp cl, 0xff
je case.0x4a4c0a.3
movzx eax, cl
add eax, 3
mov byte [esp + 0x13], 0xb
shr eax, 2
cmp al, 0xf
movzx ecx, al
mov eax, 0xf
cmova ecx, eax
shl cl, 4
jmp 0x4a4ca0
cmp cl, 0xff
je case.0x4a4c0a.3
mov byte [esp + 0x13], 0xb
jmp 0x4a4c8a
test ch, ch
jne 0x4a4c5e
movzx eax, cl
add eax, 3
mov byte [esp + 0x12], 2
shr eax, 2
mov byte [esp + 0x14], al
jmp case.0x4a4c0a.3
mov byte [esp + 0x13], 9
jmp 0x4a4ca0
movzx eax, cl
add eax, 3
mov byte [esp + 0x13], 0x1d
shr eax, 2
cmp al, 0xf
movzx ecx, al
mov eax, 0xf
cmova ecx, eax
shl cl, 4
jmp 0x4a4ca0
mov byte [esp + 0x13], 0x1d
movzx eax, cl
add eax, 3
shr eax, 2
movzx ecx, al
cmp al, 0xf
mov eax, 0xf
cmova ecx, eax
mov byte [esp + 0x15], cl
mov ebx, dword [esp + 0x1c]
cmp esi, dword [ebx + 0xe910]
jae 0x4a4cc0
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
mov ax, word [esp + 0x14]
mov word [ebp + 4], ax
cmp edi, dword [esp + 0x28]
ja 0x4a4cdc
jmp 0x4a4cce
dec al
mov byte [esp + esi + 0x60], al
inc esi
add ebp, 6
cmp esi, dword [esp + 0x4c]
jb 0x4a4a30
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4a4d9c
cmp dword [esp + 0x30], 0
mov dword [esp + 0x20], 0
je 0x4a4d0c
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a4d0c
mov esi, eax
imul esi, dword [esp + 0x34]
jmp 0x4a4d18
mov eax, dword [esp + 0x34]
inc eax
mov esi, eax
shl esi, 4
sub esi, eax
mov ecx, esi
mov ebx, 0x1e
shl ecx, 4
sub ecx, esi
add ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 4
cmp edx, 0xc8
jbe 0x4a4d4d
cmp ebx, 6
jae 0x4a4d45
cmp edx, 0x100
jb 0x4a4d4d
dec ebx
sub ecx, esi
cmp ebx, 1
ja 0x4a4d26
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp dword [eax + 0xe910], esi
jbe 0x4a4d98
mov ecx, dword [esp + 0x1c]
lea eax, [ebp + 3]
cmp byte [eax], 0
jne 0x4a4d8c
test ebx, ebx
je 0x4a4d75
mov byte [eax + 2], bl
xor ebx, ebx
mov byte [eax], 0x10
jmp 0x4a4d8c
lea ecx, [edx - 0x20]
cmp ecx, 0xdf
ja 0x4a4d98
mov ecx, dword [esp + 0x1c]
mov byte [eax + 2], dl
xor edx, edx
mov byte [eax], 0x11
inc esi
add eax, 6
cmp esi, dword [ecx + 0xe910]
jb 0x4a4d62
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
cmp edi, ebp
jae 0x4a4dbb
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x50], edx
cmp edx, dword [esp + 0x44]
jb 0x4a4960
mov ebx, dword [esp + 0x1c]
lea eax, [ebp + 8]
cmp eax, dword [esp + 0x178]
jae 0x4a4de5
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x174]
inc edi
mov dword [esp + 0x54], edi
cmp edi, dword [esp + 0x38]
jb 0x4a4872
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x178]
mov eax, dword [eax + 4]
add eax, 8
add esi, eax
jmp 0x4a4e4d
cmp byte [esp + 0x2f], 0x20
mov ecx, 0x20
movzx eax, byte [esp + 0x2f]
cmovl eax, ecx
mov byte [edi + esi], al
inc ebx
mov eax, dword [esp + 0x24]
inc esi
mov ecx, dword [eax + 4]
lea eax, [ecx - 1]
cmp esi, eax
jb 0x4a44d0
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x178]
mov eax, dword [ebx + 0xe994]
mov byte [ecx + eax - 1], 0
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 4]
add esi, 7
add esi, ebp
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x174]
lea eax, [esi + 7]
mov ebp, 0xff
cmp eax, edi
jb 0x4a4413
cmp dword [ebx + 0xe910], 0
pop esi
pop ebp
jne 0x4a4e9d
cmp dword [ebx + 0xe924], 0
jne 0x4a4e93
mov dword [ebx + 0xe920], 0
pop edi
xor eax, eax
pop ebx
add esp, 0x160
ret 8
mov dword [ebx + 0xe910], 4
pop edi
mov eax, 1
pop ebx
add esp, 0x160
ret 8