Function at 0x100580f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x1017208c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x470], ecx
cmp dword [ebp + 0x10], 0x2000
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x24]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x17]
mov ecx, edi
lea ebx, [edi + 0xde7a]
mov dword [ebp - 0x478], edi
lea esi, [edi + 0xe27a]
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x28], eax
push 0x20
ja 0x100581ac
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.10004cf0
push 0x400
push 0
push ebx
mov ecx, edi
call fcn.10004cf0
lea eax, [ebx + 0x190]
mov dword [ebp - 0x484], 0x4000
mov dword [ebp - 0x14], eax
jmp 0x100581c6
lea eax, [edi + 0x2a9a]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10004c40
mov dword [ebp - 0x484], 0xa00000
push 0x400
lea eax, [ebp - 0x464]
mov dword [edi + 0x2a92], 0
push 0
push eax
call fcn.100ae310
mov edi, dword [ebp - 0x484]
add esp, 0xc
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x474], edi
jmp 0x10058220
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x468]
mov esi, dword [ebp - 0x46c]
nop
mov edi, ebx
sub edi, edx
cmp edi, eax
jb 0x1005825d
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jb 0x10058ee2
cmp eax, esi
jae 0x10058ee2
mov ebx, dword [eax]
add dword [ebp - 0x14], 4
mov eax, dword [ebp + 0x10]
cmp eax, 0x2000
ja 0x10058220
mov edx, ebx
sub edx, dword [ebp + 0x14]
cmp edx, eax
ja 0x10058e1c
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov ecx, dword [ebp - 0x488]
mov eax, ecx
inc ecx
mov dword [ebp - 0x488], ecx
cmp eax, dword [ebp - 0x484]
jg 0x10058ee2
mov esi, dword [ebp - 0x480]
add esi, edi
mov dl, byte [esi]
movzx ecx, dl
lea eax, [ecx - 1]
cmp eax, 0xfe
ja case.0x1005829a.2
movzx eax, byte [eax + 0x10058f90]
jmp dword [eax*4 + 0x10058ef8]
mov cl, byte [esi + 1]
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne case.0x1005829a.2
movzx edx, cl
add ebx, 2
mov eax, edx
lea ecx, [ebp - 0x24]
and eax, 7
shr edx, 3
and edx, 7
lea ecx, [ecx + eax*4]
mov eax, dword [ebp + edx*4 - 0x24]
add dword [ecx], eax
jmp 0x1005820d
movzx ecx, byte [esi + 1]
lea edx, [ebp - 0x24]
mov eax, ecx
add ebx, 2
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 - 0x470]
mov dword [edx + 0x18], esi
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], ecx
mov dword [edx + 0x28], 3
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov dword [edx], 0x111111
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov eax, dword [esi + 1]
add ebx, 5
shr ecx, 3
and ecx, 7
add dword [ebp + ecx*4 - 0x24], eax
jmp 0x1005820d
movzx edx, byte [esi + 1]
lea ecx, [ebp - 0x24]
mov eax, edx
add ebx, 2
shr eax, 3
and edx, 7
and eax, 7
lea ecx, [ecx + eax*4]
mov eax, dword [ebp + edx*4 - 0x24]
or dword [ecx], eax
jmp 0x1005820d
mov eax, dword [esi + 1]
add ebx, 5
or dword [ebp - 0x24], eax
jmp 0x1005820d
mov cl, byte [esi + 1]
cmp cl, 0xc1
jne 0x100583a4
movzx edi, byte [esi + 2]
lea edx, [ebp - 0x24]
mov eax, edi
add ebx, 3
and eax, 7
shr edi, 3
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
and edi, 7
mov eax, dword [ebp + edi*4 - 0x24]
lea ecx, [esi + eax]
mov dword [edx], ecx
mov dword [ebp + edi*4 - 0x24], eax
jmp 0x100582f6
cmp cl, 0x6e
jne 0x100583da
movzx ecx, byte [esi + 2]
add ebx, 3
mov esi, dword [ebp - 0x46c]
mov eax, ecx
mov edx, dword [ebp + 0x14]
and eax, 7
shr ecx, 3
and ecx, 7
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [ebp + ecx*4 - 0x64], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
cmp cl, 0x7e
jne 0x10058410
movzx ecx, byte [esi + 2]
add ebx, 3
mov esi, dword [ebp - 0x46c]
mov eax, ecx
mov edx, dword [ebp + 0x14]
shr eax, 3
and eax, 7
and ecx, 7
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp + ecx*4 - 0x24], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov al, cl
add al, 0x38
cmp al, 7
ja case.0x1005829a.2
mov esi, dword [ebp - 0x46c]
add ebx, 2
mov edx, dword [ebp + 0x14]
movzx eax, cl
lea ecx, [ebp + eax*4 - 0x344]
mov eax, dword [ecx]
bswap eax
mov dword [ecx], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne case.0x1005829a.2
mov esi, dword [ebp - 0x46c]
add ebx, 2
movzx edx, cl
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]
sub dword [ecx], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne case.0x1005829a.2
mov esi, dword [ebp - 0x46c]
add ebx, 2
movzx edx, cl
lea ecx, [ebp - 0x24]
mov eax, edx
and edx, 7
shr eax, 3
and eax, 7
lea ecx, [ecx + eax*4]
mov eax, dword [ebp + edx*4 - 0x24]
sub dword [ecx], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov eax, dword [esi + 1]
add ebx, 5
sub dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne case.0x1005829a.2
mov esi, dword [ebp - 0x46c]
add ebx, 2
movzx edx, cl
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]
xor dword [ecx], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne case.0x1005829a.2
movzx edx, cl
add ebx, 2
mov eax, edx
lea ecx, [ebp - 0x24]
shr eax, 3
and edx, 7
and eax, 7
lea ecx, [ecx + eax*4]
mov eax, dword [ebp + edx*4 - 0x24]
mov edx, dword [ebp - 0x470]
xor dword [ecx], eax
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [edx + 0x28], 0x1f
jmp 0x1005830c
mov eax, dword [esi + 1]
add ebx, 5
xor dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x470]
mov esi, dword [ebp - 0x46c]
mov edx, dword [ebp + 0x14]
movzx eax, al
shr eax, 3
and eax, 7
mov dword [ecx + 0x28], 0x1f
mov dword [ecx], 0x111111
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov esi, dword [ebp - 0x46c]
and ecx, 7
mov eax, dword [ebp + 0x10]
inc ebx
mov edx, dword [ebp + 0x14]
inc dword [ebp + ecx*4 - 0x24]
mov ecx, dword [ebp - 0x468]
jmp 0x10058220
mov edx, dword [ebp - 0x470]
and ecx, 7
mov esi, dword [ebp - 0x46c]
inc ebx
dec dword [ebp + ecx*4 - 0x24]
mov eax, dword [ebp + ecx*4 - 0x24]
mov ecx, dword [ebp - 0x468]
mov dword [edx + 0x40], eax
mov eax, dword [edx]
and eax, 0xf
mov dword [edx + 0x48], 0x17
or eax, 0x222220
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
cmp byte [esi + 1], 0xc3
je 0x10058e54
mov eax, dword [ebp - 0x14]
inc ebx
mov edi, eax
mov dword [ebp - 0x474], edi
lea esi, [eax - 4]
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x468]
jb 0x10058ee2
cmp esi, dword [ebp - 0x46c]
jae 0x10058ee2
and dl, 7
cmp dl, 4
jne 0x10058668
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esi], edi
mov esi, dword [ebp - 0x46c]
jmp 0x10058220
mov edx, dword [ebp + 0x14]
and ecx, 7
mov eax, dword [ebp + ecx*4 - 0x24]
mov ecx, dword [ebp - 0x468]
mov dword [esi], eax
mov esi, dword [ebp - 0x46c]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov eax, dword [ebp - 0x14]
inc ebx
cmp eax, dword [ebp - 0x468]
jb 0x10058ee2
mov esi, dword [ebp - 0x46c]
cmp eax, esi
jae 0x10058ee2
mov edi, dword [eax]
add dword [ebp - 0x14], 4
and ecx, 7
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x474], edi
mov dword [ebp + ecx*4 - 0x24], edi
mov ecx, dword [ebp - 0x468]
jmp 0x10058220
mov esi, dword [ebp - 0x14]
inc ebx
mov dword [ebp - 0x474], esi
xor edx, edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffffc
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x468]
jb 0x10058ee2
cmp ecx, dword [ebp - 0x46c]
jae 0x10058ee2
cmp edx, 4
jne 0x10058700
mov dword [ecx], esi
jmp 0x10058706
mov eax, dword [ebp + edx*4 - 0x24]
mov dword [ecx], eax
inc edx
cmp edx, 7
jle 0x100586d6
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov edx, dword [ebp - 0x46c]
inc ebx
mov edi, dword [ebp - 0x468]
mov ecx, 7
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x10058ee2
cmp eax, edx
jae 0x10058ee2
cmp ecx, 4
jne 0x10058757
mov esi, dword [eax]
mov dword [ebp - 0x474], esi
jmp 0x10058766
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x474]
mov eax, dword [eax]
mov dword [ebp + ecx*4 - 0x24], eax
add dword [ebp - 0x14], 4
sub ecx, 1
jns 0x10058735
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov dword [ebp - 0x14], esi
mov esi, edx
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov ecx, dword [ebp - 0x14]
add ebx, 5
add ecx, 0xfffffffc
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x468]
jb 0x10058ee2
cmp ecx, dword [ebp - 0x46c]
jae 0x10058ee2
mov eax, dword [esi + 1]
mov esi, dword [ebp - 0x46c]
mov edx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov cl, byte [esi + 1]
mov edx, dword [ebp + 0x14]
mov al, cl
and al, 0xc0
cmp al, 0xc0
mov eax, dword [ebp + 0x10]
jne 0x10058213
mov edx, dword [ebp - 0x470]
add ebx, 6
movzx ecx, cl
mov eax, ecx
shr ecx, 3
and eax, 7
mov eax, dword [ebp + eax*4 - 0x24]
imul eax, dword [esi + 2]
and ecx, 7
mov dword [ebp + ecx*4 - 0x24], eax
mov dword [edx + 0x40], eax
mov eax, dword [edx]
mov esi, dword [ebp - 0x46c]
and eax, 0xf
mov ecx, dword [ebp - 0x468]
or eax, 0x222220
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x48], 0x37
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov ecx, dword [ebp - 0x14]
add ebx, 2
add ecx, 0xfffffffc
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x468]
jb 0x10058ee2
cmp ecx, dword [ebp - 0x46c]
jae 0x10058ee2
movzx eax, byte [esi + 1]
mov esi, dword [ebp - 0x46c]
mov edx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov cl, byte [esi + 1]
mov edx, dword [ebp + 0x14]
mov al, cl
and al, 0xc0
cmp al, 0xc0
mov eax, dword [ebp + 0x10]
jne 0x10058213
movzx edx, cl
add ebx, 3
movzx ecx, byte [esi + 2]
mov eax, edx
and eax, 7
shr edx, 3
imul ecx, dword [ebp + eax*4 - 0x24]
and edx, 7
mov dword [ebp + edx*4 - 0x24], ecx
mov edx, dword [ebp - 0x470]
mov dword [edx + 0x40], ecx
jmp 0x100587fc
mov cl, byte [esi + 1]
mov al, cl
and al, 0xf8
cmp al, 0xd0
jne case.0x1005829a.2
movzx eax, cl
add ebx, 3
and eax, 7
mov ecx, dword [ebp + eax*4 - 0x44]
mov al, byte [esi + 2]
add byte [ecx], al
mov ecx, dword [ebp - 0x470]
call fcn.10056c70
mov ecx, dword [ebp - 0x468]
test al, al
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
je 0x10058219
movzx eax, byte [esi + 1]
and eax, 7
mov eax, dword [ebp + eax*4 - 0x44]
inc byte [eax]
mov eax, dword [ebp + 0x10]
jmp 0x10058219
mov cl, byte [esi + 1]
mov al, cl
and al, 0xf8
cmp al, 0xc0
jne 0x10058933
mov edx, dword [ebp + 0x14]
movzx eax, cl
lea ecx, [ebp - 0x24]
and eax, 7
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 2]
add dword [ecx], eax
add ebx, 6
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
cmp al, 0xe8
jne 0x10058962
mov edx, dword [ebp + 0x14]
movzx eax, cl
lea ecx, [ebp - 0x24]
and eax, 7
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 2]
sub dword [ecx], eax
add ebx, 6
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
cmp al, 0xf0
jne 0x10058991
mov edx, dword [ebp + 0x14]
movzx eax, cl
lea ecx, [ebp - 0x24]
and eax, 7
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 2]
xor dword [ecx], eax
add ebx, 6
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
cmp al, 0xc8
jne case.0x1005829a.2
mov edx, dword [ebp + 0x14]
movzx eax, cl
lea ecx, [ebp - 0x24]
and eax, 7
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 2]
or dword [ecx], eax
add ebx, 6
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xf8
cmp al, 0xc0
jne 0x100589fb
mov edx, dword [ebp + 0x14]
movzx eax, cl
lea ecx, [ebp - 0x24]
and eax, 7
lea ecx, [ecx + eax*4]
movsx eax, byte [esi + 2]
add dword [ecx], eax
add ebx, 3
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
cmp al, 0xe0
jne case.0x1005829a.2
mov edx, dword [ebp + 0x14]
movzx eax, cl
lea ecx, [ebp - 0x24]
and eax, 7
lea ecx, [ecx + eax*4]
movzx eax, byte [esi + 2]
and dword [ecx], eax
add ebx, 3
mov esi, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
movzx edx, byte [esi + 1]
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x46c]
mov eax, edx
shr eax, 3
add ebx, 2
and eax, 7
and edx, 7
mov edi, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x474], edi
mov eax, dword [ebp + edx*4 - 0x24]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov dword [ebp + edx*4 - 0x24], edi
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne case.0x1005829a.2
mov esi, dword [ebp - 0x46c]
add ebx, 2
mov edx, dword [ebp + 0x14]
movzx ecx, cl
mov eax, ecx
shr ecx, 3
and eax, 7
and ecx, 7
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [ebp + ecx*4 - 0x24], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x10058af2
movzx ecx, cl
mov edi, 6
mov eax, ecx
shr ecx, 3
and eax, 7
and ecx, 7
mov edx, dword [ebp + eax*4 - 0x24]
add edx, dword [esi + 2]
add ebx, edi
mov esi, dword [ebp - 0x46c]
mov eax, dword [ebp + 0x10]
mov dword [ebp + ecx*4 - 0x24], edx
mov ecx, dword [ebp - 0x468]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov al, cl
and al, 0xc7
cmp al, 5
jne 0x10058b28
mov edx, dword [esi + 2]
mov edi, 6
mov esi, dword [ebp - 0x46c]
mov eax, dword [ebp + 0x10]
movzx ecx, cl
shr ecx, 3
and ecx, 7
add ebx, edi
mov dword [ebp + ecx*4 - 0x24], edx
mov ecx, dword [ebp - 0x468]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
cmp cl, 0x3f
ja 0x10058b61
mov esi, dword [ebp - 0x46c]
mov edi, 2
movzx ecx, cl
mov eax, ecx
shr ecx, 3
and eax, 7
and ecx, 7
add ebx, edi
mov edx, dword [ebp + eax*4 - 0x24]
mov eax, dword [ebp + 0x10]
mov dword [ebp + ecx*4 - 0x24], edx
mov ecx, dword [ebp - 0x468]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
cmp cl, 0x7f
ja case.0x1005829a.2
movzx edx, byte [esi + 2]
mov edi, 3
mov esi, dword [ebp - 0x46c]
movzx ecx, cl
mov eax, ecx
shr ecx, 3
and eax, 7
and ecx, 7
add edx, dword [ebp + eax*4 - 0x24]
add ebx, edi
mov eax, dword [ebp + 0x10]
mov dword [ebp + ecx*4 - 0x24], edx
mov ecx, dword [ebp - 0x468]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov edi, dword [ebp - 0x24]
inc ebx
mov esi, dword [ebp - 0x46c]
and ecx, 7
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x474], edi
mov eax, dword [ebp + ecx*4 - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + ecx*4 - 0x24], edi
mov ecx, dword [ebp - 0x468]
jmp 0x10058220
mov eax, dword [esi + 1]
add ebx, 5
mov esi, dword [ebp - 0x46c]
and ecx, 7
mov edx, dword [ebp + 0x14]
mov dword [ebp + ecx*4 - 0x24], eax
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x468]
cmp eax, ecx
jb 0x10058ee2
mov esi, dword [ebp - 0x46c]
cmp eax, esi
jae 0x10058ee2
mov eax, dword [eax]
add dword [ebp - 0x14], 4
cmp eax, ebx
mov ebx, eax
jb 0x1005831e
mov eax, dword [ebp + 0x10]
cmp eax, 0x2000
ja 0x10058321
mov ecx, dword [ebp - 0x478]
lea eax, [edi + 1]
push 0x20
mov dword [ecx + 0x2a92], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ecx + 0x2a9a]
push eax
call fcn.10004c40
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad37d
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffffc
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x468]
jb 0x10058ee2
cmp ecx, dword [ebp - 0x46c]
jae 0x10058ee2
lea eax, [ebx + 5]
mov dword [ecx], eax
mov eax, dword [esi + 1]
mov esi, dword [ebp - 0x46c]
add eax, 5
mov ecx, dword [ebp - 0x468]
add ebx, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
movsx eax, byte [esi + 1]
mov esi, dword [ebp - 0x46c]
add eax, 2
mov ecx, dword [ebp - 0x468]
add ebx, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
cmp byte [esi + 1], 0xa4
je 0x10058e99
mov esi, dword [ebp - 0x46c]
inc ebx
mov ecx, dword [ebp - 0x468]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
mov cl, byte [esi + 1]
mov al, cl
and al, 0xf8
cmp al, 0xc0
jne 0x10058d3e
mov edx, dword [ebp - 0x470]
mov esi, dword [ebp - 0x46c]
movzx eax, cl
mov ecx, dword [ebp - 0x468]
and eax, 7
mov dword [edx + 0x48], 0x13
inc dword [ebp + eax*4 - 0x24]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [edx + 0x40], eax
mov eax, dword [edx]
and eax, 0xf
or eax, 0x222220
add ebx, 2
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
jmp 0x10058220
cmp al, 0xc8
jne 0x10058d66
mov esi, dword [ebp - 0x46c]
mov edx, dword [ebp + 0x14]
movzx eax, cl
mov ecx, dword [ebp - 0x468]
and eax, 7
dec dword [ebp + eax*4 - 0x24]
add ebx, 2
mov eax, dword [ebp + 0x10]
jmp 0x10058220
cmp al, 0xe0
jne case.0x1005829a.2
cmp dword [ebp + 0x10], 0x2000
lea eax, [edi + 2]
mov ecx, dword [ebp - 0x478]
mov esi, dword [ebp - 0x480]
mov dword [ecx + 0x2a92], eax
jbe 0x10058eb1
movzx eax, byte [esi + edi + 1]
mov esi, dword [ebp - 0x46c]
and eax, 7
mov ecx, dword [ebp - 0x468]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + eax*4 - 0x24]
mov eax, dword [ebp + 0x10]
jmp 0x10058220
mov ecx, dword [ebp - 0x47c]
cmp ecx, 0x100
jbe 0x10058ded
xor edx, edx
dec ecx
mov eax, ecx
and eax, 0x800000ff
jns 0x10058dd0
dec eax
or eax, 0xffffff00
inc eax
cmp dword [ebp + eax*4 - 0x464], edi
je 0x10058ee2
inc edx
dec ecx
cmp edx, 0xff
jl 0x10058dc0
mov ecx, dword [ebp - 0x47c]
movzx eax, cl
inc ecx
mov dword [ebp - 0x47c], ecx
mov ecx, dword [ebp - 0x478]
push esi
mov dword [ebp + eax*4 - 0x464], edi
call fcn.10009d90
movzx eax, ax
test eax, eax
je 0x10058ee2
add ebx, eax
jmp 0x1005820d
mov eax, dword [ebp - 0x478]
lea ecx, [ebp - 0x24]
add edx, 2
push 0x20
push ecx
mov dword [eax + 0x2a92], edx
mov ecx, eax
lea edx, [eax + 0x2a7a]
push edx
call fcn.10004c40
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad37d
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x478]
lea eax, [edi + 2]
push 0x20
mov dword [ecx + 0x2a92], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ecx + 0x2a7a]
push eax
call fcn.10004c40
mov ecx, dword [ebp - 0x480]
movzx eax, byte [ecx + edi]
and eax, 7
pop edi
pop esi
pop ebx
mov eax, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad37d
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad37d
mov esp, ebp
pop ebp
ret 0x14
push 0x20
lea eax, [ebp - 0x24]
push eax
lea eax, [ecx + 0x2a9a]
push eax
call fcn.10004c40
movzx eax, byte [esi + edi + 1]
and eax, 7
pop edi
pop esi
pop ebx
mov eax, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad37d
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.100ad37d
mov esp, ebp
pop ebp
ret 0x14