Function at 0x62e4b7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x94
push ebx
mov ebx, dword [esp + 0xa8]
cmp ebx, 0xa
jae 0x62e4d2
push 0xffffffffffffffec
pop eax
jmp 0x62f804
mov eax, dword [esp + 0xa0]
push ebp
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xa8]
add eax, edi
mov dword [esp + 0x7c], eax
add eax, 0xfffffffd
push esi
mov dword [esp + 0x94], eax
call fcn.006305a1
movzx ebp, ax
lea eax, [esi + 2]
push eax
mov dword [esp + 0xa0], ebp
call fcn.006305a1
movzx eax, ax
mov dword [esp + 0x18], eax
lea eax, [esi + 4]
push eax
call fcn.006305a1
movzx ecx, ax
lea eax, [esi + 6]
push dword [esp + 0xc4]
mov dword [esp + 0xa4], eax
sub ebx, ecx
sub ebx, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0xac], eax
sub ebx, ebp
add eax, dword [esp + 0x20]
sub ebx, 6
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xbc]
add eax, 3
mov dword [esp + 0x98], ecx
shr eax, 2
mov dword [esp + 0x24], ebx
lea ecx, [eax + edi]
lea edx, [ecx + eax]
mov dword [esp + 0x90], ecx
add eax, edx
mov dword [esp + 0x94], edx
mov ebp, ecx
mov dword [esp + 0x34], eax
mov esi, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
call fcn.006294ce
shr eax, 0x10
add esp, 0x10
movzx ebx, al
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x8c], ebx
cmp dword [esp + 0x14], eax
ja 0x62e8f5
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x7c]
ja 0x62e8f5
cmp dword [esp + 0xac], 6
jb 0x62e8f5
push dword [esp + 0x98]
lea eax, [esp + 0x6c]
push dword [esp + 0x98]
push eax
call fcn.0062cb5e
add esp, 0xc
cmp eax, 0xffffff88
ja 0x62f801
push dword [esp + 0x10]
lea eax, [esp + 0x58]
push dword [esp + 0xa0]
push eax
call fcn.0062cb5e
add esp, 0xc
cmp eax, 0xffffff88
ja 0x62f801
push dword [esp + 0x88]
lea eax, [esp + 0x44]
push dword [esp + 0x2c]
push eax
call fcn.0062cb5e
add esp, 0xc
cmp eax, 0xffffff88
ja 0x62f801
push dword [esp + 0x14]
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0062cb5e
add esp, 0xc
cmp eax, 0xffffff88
ja 0x62f801
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
sub eax, edx
cmp eax, 4
jb 0x62e8dd
cmp edx, dword [esp + 0x90]
jae 0x62e8dd
mov edx, ebx
mov ebx, edi
neg edx
and edx, 0x1f
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
and ecx, 0x1f
mov edi, dword [esp + 0xb8]
shl eax, cl
mov ecx, edx
shr eax, cl
inc eax
push 2
lea esi, [edi + eax*4]
push esi
push ebx
call fcn.0064a810
movzx eax, byte [esi + 2]
add dword [esp + 0x78], eax
movzx eax, byte [esi + 3]
mov ecx, dword [esp + 0x64]
add ebx, eax
mov eax, dword [esp + 0x60]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
inc eax
push 2
lea esi, [edi + eax*4]
push esi
push ebp
call fcn.0064a810
movzx eax, byte [esi + 2]
add edi, 4
add dword [esp + 0x70], eax
movzx eax, byte [esi + 3]
mov ecx, dword [esp + 0x5c]
add ebp, eax
mov eax, dword [esp + 0x58]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x30]
shr eax, cl
push 2
lea esi, [edi + eax*4]
mov edi, dword [esp + 0x3c]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add dword [esp + 0x68], eax
movzx eax, byte [esi + 3]
mov ecx, dword [esp + 0x54]
add edi, eax
mov eax, dword [esp + 0x50]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x3c]
shr eax, cl
mov ecx, dword [esp + 0xdc]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push dword [esp + 0x48]
call fcn.0064a810
movzx eax, byte [esi + 2]
add dword [esp + 0x60], eax
movzx eax, byte [esi + 3]
add dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x48]
shr eax, cl
mov ecx, dword [esp + 0xe8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push ebx
call fcn.0064a810
movzx eax, byte [esi + 2]
add dword [esp + 0xa8], eax
movzx eax, byte [esi + 3]
mov ecx, dword [esp + 0x94]
add ebx, eax
mov eax, dword [esp + 0x90]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x54]
shr eax, cl
mov ecx, dword [esp + 0xf4]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push ebp
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0x48
add dword [esp + 0x58], eax
movzx eax, byte [esi + 3]
mov ecx, dword [esp + 0x44]
add ebp, eax
mov eax, dword [esp + 0x40]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x18]
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add dword [esp + 0x50], eax
movzx eax, byte [esi + 3]
mov ecx, dword [esp + 0x3c]
add edi, eax
mov eax, dword [esp + 0x38]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
mov ecx, dword [esp + 0xc4]
add ecx, 4
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x28]
push 2
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add dword [esp + 0x48], eax
movzx eax, byte [esi + 3]
add edi, eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x38], edi
call fcn.0062cc78
neg eax
sbb edi, edi
lea eax, [esp + 0x5c]
push eax
inc edi
call fcn.0062cc78
neg eax
sbb esi, esi
lea eax, [esp + 0x74]
inc esi
push eax
and esi, edi
call fcn.0062cc78
xor edi, edi
test eax, eax
lea eax, [esp + 0x8c]
push eax
cmove edi, esi
call fcn.0062cc78
add esp, 0x28
mov edx, dword [esp + 0x18]
neg eax
sbb ecx, ecx
mov eax, dword [esp + 0x90]
inc ecx
and ecx, edi
cmp dword [esp + 0x1c], eax
sbb eax, eax
test ecx, eax
jne 0x62e690
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa8], ebx
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x80]
cmp edi, ecx
ja 0x62e8f5
cmp ebp, dword [esp + 0x84]
ja 0x62e8f5
cmp esi, edx
jbe 0x62e8fd
push 0xffffffffffffffec
pop eax
jmp 0x62f801
mov eax, ecx
sub eax, edi
push 0x20
pop ebp
cmp eax, 4
jb 0x62ea6d
lea edx, [ecx - 3]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
cmp edx, ebp
jbe 0x62e930
mov dword [esp + 0x14], 3
jmp 0x62e9bb
cmp esi, dword [esp + 0x78]
jb 0x62e947
lea eax, [esp + 0x68]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x14], eax
jmp 0x62e9b3
mov ecx, dword [esp + 0x74]
cmp esi, ecx
jne 0x62e95c
cmp edx, ebp
sbb eax, eax
add eax, 2
mov dword [esp + 0x14], eax
jmp 0x62e9bb
and dword [esp + 0x14], 0
mov eax, edx
shr eax, 3
mov dword [esp + 0x28], eax
mov eax, esi
sub eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x62e982
mov eax, esi
mov dword [esp + 0x14], 1
sub eax, ecx
jmp 0x62e986
mov eax, dword [esp + 0x28]
sub esi, eax
imul eax, eax, 0xfffffff8
push 4
push esi
mov dword [esp + 0x78], esi
add edx, eax
lea eax, [esp + 0xa4]
push eax
mov dword [esp + 0x78], edx
call fcn.0064a810
mov eax, dword [esp + 0xa8]
add esp, 0xc
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
cmp edi, dword [esp + 0x94]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x14], eax
sete al
test eax, ecx
je 0x62eae6
mov eax, dword [esp + 0x68]
mov edi, ebx
and edx, 0x1f
neg edi
mov ecx, edx
and edi, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push dword [esp + 0xb0]
call fcn.0064a810
movzx ecx, byte [esi + 2]
add ecx, dword [esp + 0x78]
movzx eax, byte [esi + 3]
add dword [esp + 0xb4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], ecx
and ecx, 0x1f
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0xb4]
shr eax, cl
mov ecx, dword [esp + 0xc4]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0x18
mov edx, dword [esp + 0x6c]
add edx, eax
movzx eax, byte [esi + 3]
add edi, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0xa8], edi
jmp 0x62e91b
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
cmp edx, ebp
ja 0x62eae6
cmp esi, dword [esp + 0x78]
jb 0x62ea8c
lea eax, [esp + 0x68]
push eax
call fcn.0062cc78
pop ecx
jmp 0x62eade
mov ecx, dword [esp + 0x74]
cmp esi, ecx
je 0x62eaea
mov eax, edx
shr eax, 3
mov dword [esp + 0x28], eax
mov eax, esi
sub eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x62eaad
mov eax, esi
sub eax, ecx
jmp 0x62eab1
mov eax, dword [esp + 0x28]
sub esi, eax
imul eax, eax, 0xfffffff8
push 4
push esi
mov dword [esp + 0x78], esi
add edx, eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x78], edx
call fcn.0064a810
mov eax, dword [esp + 0xa0]
add esp, 0xc
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x80]
sub eax, edi
cmp eax, 2
jb 0x62ec74
mov eax, dword [esp + 0x80]
add eax, 0xfffffffe
mov dword [esp + 0x10], eax
cmp edx, ebp
jbe 0x62eb1b
mov dword [esp + 0x14], 3
jmp 0x62ebaf
cmp esi, dword [esp + 0x78]
jb 0x62eb32
lea eax, [esp + 0x68]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x14], eax
jmp 0x62eba7
cmp esi, ecx
jne 0x62eb50
mov esi, ebx
cmp edx, ebp
jae 0x62eb46
mov dword [esp + 0x14], 1
jmp 0x62ebb1
mov dword [esp + 0x14], 2
jmp 0x62ebb1
and dword [esp + 0x14], 0
mov eax, edx
shr eax, 3
mov dword [esp + 0x28], eax
mov eax, esi
sub eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x62eb76
mov eax, esi
mov dword [esp + 0x14], 1
sub eax, ecx
jmp 0x62eb7a
mov eax, dword [esp + 0x28]
sub esi, eax
imul eax, eax, 0xfffffff8
push 4
push esi
mov dword [esp + 0x78], esi
add edx, eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x78], edx
call fcn.0064a810
mov eax, dword [esp + 0xa4]
add esp, 0xc
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
mov esi, ebx
neg esi
cmp eax, edi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x14], eax
sete al
test eax, ecx
je 0x62ec17
mov eax, dword [esp + 0x68]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x70]
add edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
jmp 0x62eb0a
cmp edi, dword [esp + 0x10]
ja 0x62ec74
mov ebx, dword [esp + 0xb8]
and esi, 0x1f
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x68]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, esi
shr eax, cl
inc eax
push 2
lea esi, [ebx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x6c]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x28]
add edi, eax
mov dword [esp + 0x6c], edx
cmp edi, ebp
jbe 0x62ec2f
mov ebx, dword [esp + 0x8c]
push 0x20
pop ebp
cmp edi, dword [esp + 0x80]
jae 0x62ecd1
mov eax, dword [esp + 0x68]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 1
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
add esp, 0xc
cmp byte [esi + 3], 1
jne 0x62ecba
movzx eax, byte [esi + 2]
add dword [esp + 0x6c], eax
jmp 0x62ecd1
mov ecx, dword [esp + 0x6c]
cmp ecx, ebp
jae 0x62ecd1
movzx eax, byte [esi + 2]
add ecx, eax
cmp ecx, ebp
cmova ecx, ebp
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x84]
mov eax, edx
sub eax, dword [esp + 0x18]
cmp eax, 4
jb 0x62ee2e
add edx, 0xfffffffd
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
cmp edx, ebp
jbe 0x62ed07
mov dword [esp + 0x10], 3
jmp 0x62ed80
cmp esi, dword [esp + 0x64]
jb 0x62ed1e
lea eax, [esp + 0x54]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x10], eax
jmp 0x62ed78
mov edi, dword [esp + 0x60]
cmp esi, edi
jne 0x62ed33
cmp edx, ebp
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x62ed84
and dword [esp + 0x10], 0
mov ecx, edx
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, edi
jae 0x62ed51
mov ecx, esi
mov dword [esp + 0x10], 1
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x64], esi
add edx, eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x64], edx
call fcn.0064a810
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x18], eax
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x62ee9f
mov eax, dword [esp + 0x54]
mov edi, ebx
and edx, 0x1f
neg edi
mov ecx, edx
and edi, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push dword [esp + 0x20]
call fcn.0064a810
movzx ecx, byte [esi + 2]
add ecx, dword [esp + 0x64]
movzx eax, byte [esi + 3]
mov edx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x60]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0xc4]
add ecx, 4
mov dword [esp + 0x24], edx
push 2
lea esi, [ecx + eax*4]
push esi
push edx
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0x18
mov edx, dword [esp + 0x58]
add edx, eax
movzx eax, byte [esi + 3]
add dword [esp + 0x18], eax
mov dword [esp + 0x58], edx
jmp 0x62ecf5
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
cmp edx, ebp
ja 0x62ee9b
cmp esi, dword [esp + 0x64]
jb 0x62ee4d
lea eax, [esp + 0x54]
push eax
call fcn.0062cc78
pop ecx
jmp 0x62ee93
mov edi, dword [esp + 0x60]
cmp esi, edi
je 0x62ee9f
mov ecx, edx
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x62ee66
mov ecx, esi
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x64], esi
add edx, eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x64], edx
call fcn.0064a810
mov eax, dword [esp + 0x94]
add esp, 0xc
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x84]
mov eax, ecx
sub eax, dword [esp + 0x18]
cmp eax, 2
jb 0x62f024
lea eax, [ecx - 2]
mov dword [esp + 0x10], eax
cmp edx, ebp
jbe 0x62eecd
mov dword [esp + 0x14], 3
jmp 0x62ef55
cmp esi, dword [esp + 0x64]
jb 0x62eee4
lea eax, [esp + 0x54]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x14], eax
jmp 0x62ef4d
cmp esi, edi
jne 0x62ef02
mov esi, ebx
cmp edx, ebp
jae 0x62eef8
mov dword [esp + 0x14], 1
jmp 0x62ef57
mov dword [esp + 0x14], 2
jmp 0x62ef57
and dword [esp + 0x14], 0
mov ecx, edx
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, edi
jae 0x62ef20
mov ecx, esi
mov dword [esp + 0x14], 1
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x64], esi
add edx, eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x64], edx
call fcn.0064a810
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov esi, ebx
mov edi, dword [esp + 0x18]
neg esi
cmp eax, edi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x14], eax
sete al
test eax, ecx
je 0x62efc5
mov eax, dword [esp + 0x54]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x58]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x5c]
add edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x58], edx
jmp 0x62eebc
cmp edi, dword [esp + 0x10]
ja 0x62f028
mov ebx, dword [esp + 0xb8]
and esi, 0x1f
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x54]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, esi
shr eax, cl
inc eax
push 2
lea esi, [ebx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x58]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x14]
add edi, eax
mov dword [esp + 0x58], edx
cmp edi, ebp
jbe 0x62efdd
mov ebx, dword [esp + 0x8c]
push 0x20
pop ebp
jmp 0x62f028
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x84]
jae 0x62f085
mov eax, dword [esp + 0x54]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 1
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
add esp, 0xc
cmp byte [esi + 3], 1
jne 0x62f06e
movzx eax, byte [esi + 2]
add dword [esp + 0x58], eax
jmp 0x62f085
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
jae 0x62f085
movzx eax, byte [esi + 2]
add ecx, eax
cmp ecx, ebp
cmova ecx, ebp
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x24]
mov eax, edx
sub eax, dword [esp + 0x20]
cmp eax, 4
jb 0x62f1df
add edx, 0xfffffffd
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
cmp edx, ebp
jbe 0x62f0b5
mov dword [esp + 0x10], 3
jmp 0x62f134
cmp esi, dword [esp + 0x50]
jb 0x62f0cc
lea eax, [esp + 0x40]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x10], eax
jmp 0x62f12c
mov edi, dword [esp + 0x4c]
cmp esi, edi
jne 0x62f0e1
cmp edx, ebp
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x62f138
and dword [esp + 0x10], 0
mov ecx, edx
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, edi
jae 0x62f0ff
mov ecx, esi
mov dword [esp + 0x10], 1
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x50], esi
add edx, eax
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x50], edx
call fcn.0064a810
mov eax, dword [esp + 0x90]
add esp, 0xc
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x20], eax
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x62f24a
mov eax, dword [esp + 0x40]
mov edi, ebx
and edx, 0x1f
neg edi
mov ecx, edx
and edi, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push dword [esp + 0x28]
call fcn.0064a810
movzx ecx, byte [esi + 2]
add ecx, dword [esp + 0x50]
movzx eax, byte [esi + 3]
mov edx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x4c]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0xc4]
add ecx, 4
mov dword [esp + 0x2c], edx
push 2
lea esi, [ecx + eax*4]
push esi
push edx
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0x18
mov edx, dword [esp + 0x44]
add edx, eax
movzx eax, byte [esi + 3]
add dword [esp + 0x20], eax
mov dword [esp + 0x44], edx
jmp 0x62f0a3
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
cmp edx, ebp
ja 0x62f246
cmp esi, dword [esp + 0x50]
jb 0x62f1fe
lea eax, [esp + 0x40]
push eax
call fcn.0062cc78
pop ecx
jmp 0x62f23e
mov edi, dword [esp + 0x4c]
cmp esi, edi
je 0x62f24a
mov ecx, edx
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x62f217
mov ecx, esi
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x50], esi
add edx, eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x50], edx
call fcn.0064a810
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, dword [esp + 0x20]
cmp eax, 2
jb 0x62f3cc
lea eax, [ecx - 2]
mov dword [esp + 0x10], eax
cmp edx, ebp
jbe 0x62f275
mov dword [esp + 0x14], 3
jmp 0x62f2fd
cmp esi, dword [esp + 0x50]
jb 0x62f28c
lea eax, [esp + 0x40]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x14], eax
jmp 0x62f2f5
cmp esi, edi
jne 0x62f2aa
mov esi, ebx
cmp edx, ebp
jae 0x62f2a0
mov dword [esp + 0x14], 1
jmp 0x62f2ff
mov dword [esp + 0x14], 2
jmp 0x62f2ff
and dword [esp + 0x14], 0
mov ecx, edx
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, edi
jae 0x62f2c8
mov ecx, esi
mov dword [esp + 0x14], 1
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x50], esi
add edx, eax
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0x50], edx
call fcn.0064a810
mov eax, dword [esp + 0xac]
add esp, 0xc
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov esi, ebx
mov edi, dword [esp + 0x20]
neg esi
cmp eax, edi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x14], eax
sete al
test eax, ecx
je 0x62f36d
mov eax, dword [esp + 0x40]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x44]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x48]
add edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
jmp 0x62f264
cmp edi, dword [esp + 0x10]
ja 0x62f3d0
mov ebx, dword [esp + 0xb8]
and esi, 0x1f
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x40]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, esi
shr eax, cl
inc eax
push 2
lea esi, [ebx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x44]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x14]
add edi, eax
mov dword [esp + 0x44], edx
cmp edi, ebp
jbe 0x62f385
mov ebx, dword [esp + 0x8c]
push 0x20
pop ebp
jmp 0x62f3d0
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x24]
jae 0x62f42a
mov eax, dword [esp + 0x40]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 1
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
add esp, 0xc
cmp byte [esi + 3], 1
jne 0x62f413
movzx eax, byte [esi + 2]
add dword [esp + 0x44], eax
jmp 0x62f42a
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
jae 0x62f42a
movzx eax, byte [esi + 2]
add ecx, eax
cmp ecx, ebp
cmova ecx, ebp
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
cmp eax, 4
jb 0x62f578
mov esi, dword [esp + 0x34]
cmp edx, ebp
jbe 0x62f451
mov dword [esp + 0x10], 3
jmp 0x62f4ca
cmp esi, dword [esp + 0x3c]
jb 0x62f468
lea eax, [esp + 0x2c]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x10], eax
jmp 0x62f4c2
mov edi, dword [esp + 0x38]
cmp esi, edi
jne 0x62f47d
cmp edx, ebp
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x62f4ce
and dword [esp + 0x10], 0
mov ecx, edx
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, edi
jae 0x62f49b
mov ecx, esi
mov dword [esp + 0x10], 1
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x3c], esi
add edx, eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x3c], edx
call fcn.0064a810
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x90]
cmp dword [esp + 0x1c], eax
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x62f5e5
mov eax, dword [esp + 0x2c]
mov edi, ebx
and edx, 0x1f
neg edi
mov ecx, edx
and edi, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push dword [esp + 0x24]
call fcn.0064a810
movzx ecx, byte [esi + 2]
add ecx, dword [esp + 0x3c]
movzx eax, byte [esi + 3]
mov edx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x38]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0xc4]
add ecx, 4
mov dword [esp + 0x28], edx
push 2
lea esi, [ecx + eax*4]
push esi
push edx
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0x18
mov edx, dword [esp + 0x30]
add edx, eax
movzx eax, byte [esi + 3]
add dword [esp + 0x1c], eax
mov dword [esp + 0x30], edx
jmp 0x62f43f
mov esi, dword [esp + 0x34]
cmp edx, ebp
ja 0x62f5e1
cmp esi, dword [esp + 0x3c]
jb 0x62f593
lea eax, [esp + 0x2c]
push eax
call fcn.0062cc78
pop ecx
jmp 0x62f5d9
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x62f5e5
mov ecx, edx
mov eax, esi
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x62f5ac
mov ecx, esi
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x3c], esi
add edx, eax
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x3c], edx
call fcn.0064a810
mov eax, dword [esp + 0x9c]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x1c]
cmp eax, 2
jb 0x62f763
mov eax, dword [esp + 0x7c]
add eax, 0xfffffffe
mov dword [esp + 0x10], eax
cmp edx, ebp
jbe 0x62f612
mov dword [esp + 0x24], 3
jmp 0x62f694
cmp esi, dword [esp + 0x3c]
jb 0x62f629
lea eax, [esp + 0x2c]
push eax
call fcn.0062cc78
pop ecx
mov dword [esp + 0x24], eax
jmp 0x62f68c
cmp esi, edi
jne 0x62f647
mov esi, ebx
cmp edx, ebp
jae 0x62f63d
mov dword [esp + 0x24], 1
jmp 0x62f696
mov dword [esp + 0x24], 2
jmp 0x62f696
and dword [esp + 0x24], 0
mov ecx, edx
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, edi
jae 0x62f665
mov ecx, esi
mov dword [esp + 0x24], 1
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub esi, ecx
push 4
push esi
mov dword [esp + 0x3c], esi
add edx, eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], edx
call fcn.0064a810
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov esi, ebx
mov edi, dword [esp + 0x1c]
neg esi
cmp eax, edi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x24], eax
sete al
test eax, ecx
je 0x62f704
mov eax, dword [esp + 0x2c]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 2
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x30]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x34]
add edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], edx
jmp 0x62f601
cmp edi, dword [esp + 0x10]
ja 0x62f767
mov ebx, dword [esp + 0xb8]
and esi, 0x1f
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x2c]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, esi
shr eax, cl
inc eax
push 2
lea esi, [ebx + eax*4]
push esi
push edi
call fcn.0064a810
movzx eax, byte [esi + 2]
add esp, 0xc
mov edx, dword [esp + 0x30]
add edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [esp + 0x24]
add edi, eax
mov dword [esp + 0x30], edx
cmp edi, ebp
jbe 0x62f71c
mov ebx, dword [esp + 0x8c]
push 0x20
pop ebp
jmp 0x62f767
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x7c]
jae 0x62f7c1
mov eax, dword [esp + 0x2c]
and edx, 0x1f
mov ecx, edx
neg ebx
shl eax, cl
and ebx, 0x1f
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0xb8]
add ecx, 4
push 1
lea esi, [ecx + eax*4]
push esi
push edi
call fcn.0064a810
add esp, 0xc
cmp byte [esi + 3], 1
jne 0x62f7aa
movzx eax, byte [esi + 2]
add dword [esp + 0x30], eax
jmp 0x62f7c1
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
jae 0x62f7c1
movzx eax, byte [esi + 2]
add ecx, eax
cmp ecx, ebp
cmova ecx, ebp
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0062cb45
mov edx, eax
lea eax, [esp + 0x44]
push eax
call fcn.0062cb45
and edx, eax
lea eax, [esp + 0x5c]
push eax
call fcn.0062cb45
and edx, eax
lea eax, [esp + 0x74]
push eax
call fcn.0062cb45
add esp, 0x10
test eax, edx
mov eax, dword [esp + 0xac]
push 0xffffffffffffffec
pop ecx
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret