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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc8
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp + 0x74], esi
call fcn.005eeeae
cmp dword [ebx + 8], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x38], esi
jbe 0x5f321b
mov edx, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
mov eax, dword [ecx]
cmp edx, dword [eax]
jne 0x5f3215
mov eax, dword [eax + 8]
cmp dword [ebp + 0x64], eax
ja 0x5f3215
inc eax
mov dword [ebp + 0x64], eax
add ecx, 4
dec esi
jne 0x5f3203
test byte [ebx + 0x90], 1
je 0x5f336c
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x5c], eax
jbe 0x5f336c
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.005eb096
test eax, eax
jne 0x5f335c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5f335c
mov edx, dword [esi + 0x10]
mov edx, dword [edx]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx]
mov edi, dword [ebx + 0x10]
mov edx, dword [edi + edx*4]
test byte [edx + 4], 0x10
je 0x5f335c
xor edx, edx
cmp edx, dword [esi + 4]
jae 0x5f329f
mov edi, dword [esi + 8]
mov dword [ebp + 0x68], edi
mov edi, dword [ebp + 0x68]
mov edi, dword [edi]
mov edi, dword [ecx + edi*4]
cmp edx, dword [edi + 0xc]
jne 0x5f329c
add dword [ebp + 0x68], 4
inc edx
cmp edx, dword [esi + 4]
jb 0x5f3285
cmp edx, dword [esi + 4]
je 0x5f335c
push 0xffffffffffffffff
and eax, 0xffffff
push 0xffffffffffffffff
or eax, 0x10000000
push eax
mov ecx, ebx
call fcn.005eab2b
cmp eax, 0xffffffff
je 0x5f458c
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + eax*4]
push esi
mov ecx, eax
mov dword [ebp + 0x68], eax
call fcn.005eb042
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x5f3352
mov eax, dword [ebp + 0x6c]
fldz
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp + 0x68]
mov edx, dword [edx + 0x10]
mov edi, eax
shl edi, 2
mov ecx, dword [edi + ecx]
push ecx
push ecx
fstp qword [esp]
push eax
push dword [ebp + 0x64]
mov dword [edi + edx], ecx
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.005eaacf
mov ecx, dword [esi + 0x10]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [edi + ecx]
mov dword [edi + edx], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x5f458c
mov edx, dword [ebp + 0x68]
mov edx, dword [edx + 0x10]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x18]
inc dword [ebp + 0x6c]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 0xc]
jb 0x5f32df
inc dword [ebp + 0x64]
mov dword [ebp + 0x74], 1
mov eax, dword [ebp + 0x5c]
inc eax
cmp eax, dword [ebp + 0x50]
mov dword [ebp + 0x5c], eax
jb 0x5f323b
test byte [ebx + 0x93], 2
je 0x5f34d5
and dword [ebp + 0x70], 0
cmp dword [ebx + 0xc], 0
jbe 0x5f34d5
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x70]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [ebp + 0x5c], esi
call fcn.005eb145
test eax, eax
je 0x5f34c6
lea ecx, [ebp + 0x60]
xor eax, eax
inc eax
push ecx
mov dword [ebp + 0x68], eax
push eax
mov ecx, esi
jmp 0x5f34b6
xor ecx, ecx
test eax, eax
jbe 0x5f33d0
mov edx, dword [ebx + 0x14]
mov esi, dword [ebp + 0x60]
mov esi, dword [esi + ecx*4]
mov esi, dword [edx + esi*4]
cmp dword [esi + 0xc], ecx
jne 0x5f33d0
inc ecx
cmp ecx, eax
jb 0x5f33bd
cmp ecx, eax
je 0x5f34a9
mov eax, dword [ebp + 0x58]
push 0xffffffffffffffff
and eax, 0xffffff
push 0xffffffffffffffff
or eax, 0x10000000
push eax
mov ecx, ebx
call fcn.005eab2b
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 0x50], edi
je 0x5f458c
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edi*4]
push dword [ebp + 0x5c]
mov ecx, esi
call fcn.005eb042
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x58], 0
jbe 0x5f3491
mov ecx, dword [esi + 8]
fldz
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x60]
push ecx
push ecx
fstp qword [esp]
mov edi, eax
push eax
push dword [ebp + 0x64]
shl edi, 2
mov edx, dword [edi + edx]
mov dword [edi + ecx], edx
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.005eaacf
mov ecx, dword [ebp + 0x60]
mov dword [edi + ecx], eax
mov ecx, dword [ebp + 0x60]
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + ecx]
mov dword [edi + eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x5f458c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x18]
inc dword [ebp + 0x6c]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x58]
jb 0x5f3419
mov edi, dword [ebp + 0x50]
jmp 0x5f3491
lea eax, [eax + edi*4]
mov ecx, dword [eax - 4]
mov dword [eax], ecx
dec edi
cmp edi, dword [ebp + 0x70]
mov eax, dword [ebx + 0x18]
ja 0x5f3488
inc dword [ebp + 0x70]
inc dword [ebp + 0x64]
mov dword [eax + edi*4], esi
mov dword [ebp + 0x74], 1
inc dword [ebp + 0x68]
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x68]
call fcn.005eb05c
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5f33b4
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebx + 0xc]
jb 0x5f3387
and dword [ebp + 0x70], 0
cmp dword [ebx + 0xc], 0
jbe 0x5f3677
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x70]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi]
and eax, 0xff000000
cmp eax, 0x34000000
mov dword [ebp + 0x5c], edi
jne 0x5f3668
cmp dword [edi + 4], 4
jne 0x5f3554
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x14]
mov edx, dword [eax]
mov edx, dword [ecx + edx*4]
mov esi, dword [ebx + 0x10]
mov dword [ebp + 0x50], edx
mov edx, dword [edx]
mov edx, dword [esi + edx*4]
test byte [edx + 5], 1
jne 0x5f3554
mov edx, dword [ebp + 0x50]
cmp dword [edx + 0xc], 0
jne 0x5f3554
mov edx, dword [eax + 4]
mov edx, dword [ecx + edx*4]
cmp dword [edx + 0xc], 1
jne 0x5f3554
mov edx, dword [eax + 8]
mov edx, dword [ecx + edx*4]
cmp dword [edx + 0xc], 2
jne 0x5f3554
mov eax, dword [eax + 0xc]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0xc], 3
je 0x5f3668
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x10000004
mov ecx, ebx
call fcn.005eab2b
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, eax
push 0x34000004
mov ecx, ebx
mov dword [ebp + 0x50], esi
call fcn.005eab2b
cmp esi, 0xffffffff
je 0x5f458c
cmp eax, 0xffffffff
je 0x5f458c
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + esi*4]
mov eax, dword [ecx + eax*4]
push edi
mov ecx, esi
mov dword [ebp + 0x68], eax
call fcn.005eb042
mov ecx, dword [ebp + 0x68]
push edi
call fcn.005eb042
and dword [ebp + 0x74], 0
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x74]
cmp edx, ecx
mov eax, dword [eax + 8]
jae 0x5f35c1
mov eax, dword [eax + edx*4]
jmp 0x5f35c5
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp + 0x74]
fldz
mov edx, dword [esi + 8]
push ecx
push ecx
fstp qword [esp]
push ecx
push dword [ebp + 0x64]
mov edi, ecx
shl edi, 2
mov dword [edi + edx], eax
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.005eaacf
mov ecx, dword [ebp + 0x68]
mov edx, dword [ecx + 8]
mov dword [edi + edx], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + eax]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x5f458c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
inc dword [ebp + 0x74]
cmp dword [ebp + 0x74], 4
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
jb 0x5f35ac
mov ecx, dword [ebp + 0x50]
jmp 0x5f3638
lea eax, [eax + ecx*4]
mov edx, dword [eax - 4]
mov dword [eax], edx
dec ecx
cmp ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0x18]
ja 0x5f362f
mov edi, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x5c]
mov dword [eax + edi*4], esi
xor esi, esi
inc esi
inc edi
push esi
mov dword [ebp + 0x70], edi
call fcn.005ea786
dec dword [ebx + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x68]
inc dword [ebp + 0x64]
mov dword [eax + edi*4], ecx
mov dword [ebp + 0x74], esi
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebx + 0xc]
jb 0x5f34e3
test byte [ebx + 0x90], 6
je 0x5f3bcf
xor edx, edx
cmp dword [ebx + 0xc], edx
mov dword [ebp + 0x60], edx
jbe 0x5f38a4
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edx*4]
mov eax, dword [esi]
and eax, 0xff000000
cmp eax, 0x10000000
mov dword [ebp + 0x3c], esi
jne 0x5f3897
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
mov edi, dword [ebx + 0x10]
mov ecx, dword [edi + ecx*4]
test byte [ecx + 4], 0x10
jne 0x5f3897
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x5f3704
mov ecx, dword [esi + 8]
mov edi, dword [ecx]
mov edi, dword [eax + edi*4]
mov edi, dword [edi + 0x2c]
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x68], ecx
mov ecx, dword [ebp + 0x68]
mov ecx, dword [ecx]
mov ecx, dword [eax + ecx*4]
mov edi, dword [ebp + 0x50]
cmp edi, dword [ecx + 0x2c]
jne 0x5f3704
inc dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x6c]
add dword [ebp + 0x68], 4
cmp ecx, dword [esi + 0xc]
jb 0x5f36e5
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 0xc]
je 0x5f3897
mov eax, dword [esi + 4]
and dword [ebp + 0x70], 0
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x5f3839
mov edx, dword [ebp + 0x74]
mov ecx, dword [esi + 8]
lea edi, [ecx + edx*4]
mov edx, dword [edi]
cmp edx, 0xffffffff
je 0x5f380e
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x2c]
mov dword [ebp + 0x54], edx
xor edx, edx
cmp dword [ebp + 0x74], eax
jae 0x5f3772
sub eax, dword [ebp + 0x74]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x5f3769
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp + 0x54]
cmp edi, dword [eax + 0x2c]
jne 0x5f3769
inc edx
add dword [ebp + 0x68], 4
dec dword [ebp + 0x5c]
jne 0x5f3753
push 0xffffffffffffffff
and edx, 0xffffff
push 0xffffffffffffffff
or edx, 0x10000000
push edx
mov ecx, ebx
call fcn.005eab2b
cmp eax, 0xffffffff
je 0x5f458c
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + eax*4]
push esi
mov ecx, edi
mov dword [ebp + 0x4c], edi
call fcn.005eb042
mov eax, dword [ebp + 0x74]
inc dword [ebp + 0x70]
cmp eax, dword [esi + 4]
mov dword [ebp + 0x6c], eax
jae 0x5f380e
and dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [esi + 8]
shl eax, 2
mov ecx, dword [eax + ecx]
cmp ecx, 0xffffffff
je 0x5f3803
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0x2c]
jne 0x5f3803
mov edx, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
mov edi, dword [eax + ecx]
mov ecx, dword [ebp + 0x5c]
mov dword [ecx + edx], edi
mov edx, dword [esi + 8]
mov edi, dword [ebp + 0x4c]
mov edi, dword [edi + 8]
mov edx, dword [eax + edx]
mov dword [ecx + edi], edx
mov edx, dword [esi + 8]
or dword [eax + edx], 0xffffffff
mov edi, dword [ebp + 0x4c]
add ecx, 4
mov dword [ebp + 0x5c], ecx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 4]
jb 0x5f37b6
inc dword [ebp + 0x74]
mov eax, dword [esi + 4]
cmp dword [ebp + 0x74], eax
jb 0x5f3723
cmp dword [ebp + 0x70], 0
jbe 0x5f3839
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
sub eax, ecx
lea esi, [edx + eax*4]
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x3c]
mov eax, dword [ebx + 0xc]
dec eax
cmp eax, dword [ebp + 0x60]
jbe 0x5f385c
mov edx, eax
sub edx, dword [ebp + 0x70]
shl edx, 2
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + edx]
sub edx, 4
dec eax
cmp eax, dword [ebp + 0x60]
mov dword [ecx + eax*4], edi
ja 0x5f384a
xor eax, eax
cmp dword [ebp + 0x70], eax
jbe 0x5f387c
mov ecx, dword [ebp + 0x60]
shl ecx, 2
mov edi, dword [ebp + eax*4]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx], edi
inc eax
add ecx, 4
cmp eax, dword [ebp + 0x70]
jb 0x5f3869
xor edi, edi
inc edi
push edi
mov ecx, esi
call fcn.005ea786
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x70]
dec dword [ebx + 0xc]
lea edx, [eax + ecx - 1]
mov dword [ebp + 0x74], edi
inc edx
cmp edx, dword [ebx + 0xc]
mov dword [ebp + 0x60], edx
jb 0x5f3692
and dword [ebp + 0x60], 0
cmp dword [ebx + 0xc], 0
jbe 0x5f3bcf
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebx + 0x18]
shl eax, 2
mov edi, dword [eax + ecx]
mov eax, dword [edi]
and eax, 0xff000000
cmp eax, 0x10000000
mov dword [ebp + 0x50], edi
jne 0x5f3bc0
mov esi, dword [edi + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + ecx*4]
test byte [ecx + 4], 0x10
jne 0x5f3bc0
mov edx, dword [edi + 0xc]
xor ecx, ecx
and dword [ebp + 0x6c], ecx
and dword [ebp + 0x70], ecx
test edx, edx
jbe 0x5f396e
mov edx, dword [edi + 8]
mov dword [ebp + 0x68], esi
sub dword [ebp + 0x68], edx
mov dword [ebp + 0x48], edx
mov edx, dword [ebp + 0x48]
mov esi, dword [edx]
mov esi, dword [eax + esi*4]
mov esi, dword [esi + 0xc]
mov dword [ebp + 0x5c], esi
mov esi, dword [ebp + 0x68]
mov edx, dword [esi + edx]
mov edx, dword [eax + edx*4]
mov edx, dword [edx + 0xc]
cmp edx, dword [ebp + 0x5c]
jne 0x5f392b
inc ecx
and dword [ebp + 0x58], 0
cmp dword [ebp + 0x70], 0
jbe 0x5f395f
mov edx, dword [edi + 8]
mov dword [ebp + 0x44], edx
mov edx, dword [ebp + 0x44]
mov edx, dword [edx]
mov edx, dword [eax + edx*4]
mov esi, dword [ebp + 0x5c]
cmp dword [edx + 0xc], esi
je 0x5f395c
inc dword [ebp + 0x58]
mov edx, dword [ebp + 0x58]
add dword [ebp + 0x44], 4
cmp edx, dword [ebp + 0x70]
jb 0x5f393b
jmp 0x5f395f
inc dword [ebp + 0x6c]
inc dword [ebp + 0x70]
mov edx, dword [edi + 0xc]
add dword [ebp + 0x48], 4
cmp dword [ebp + 0x70], edx
jb 0x5f390b
cmp ecx, edx
je 0x5f3bc0
mov eax, dword [ebp + 0x6c]
inc eax
cmp eax, edx
je 0x5f3bc0
cmp ecx, 1
ja 0x5f3991
cmp dword [ebp + 0x6c], 0
je 0x5f3bc0
and dword [ebp + 0x70], 0
cmp ecx, 1
jbe 0x5f3a3a
push 0xffffffffffffffff
and ecx, 0xffffff
or ecx, 0x10000000
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.005eab2b
cmp eax, 0xffffffff
je 0x5f458c
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + eax*4]
push edi
mov ecx, eax
mov dword [ebp + 0x5c], eax
call fcn.005eb042
xor eax, eax
cmp dword [edi + 0xc], eax
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x6c], eax
jbe 0x5f3a3a
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x6c]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x14]
shl eax, 2
mov esi, dword [eax + esi]
mov esi, dword [edx + esi*4]
mov ecx, dword [eax + ecx]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 0xc]
cmp edx, dword [esi + 0xc]
jne 0x5f3a2f
mov edx, dword [ebp + 0x5c]
mov esi, dword [edx + 0x10]
mov edx, dword [ebp + 0x54]
mov dword [edx + esi], ecx
mov ecx, dword [edi + 8]
mov esi, dword [ebp + 0x5c]
mov ecx, dword [eax + ecx]
mov esi, dword [esi + 8]
mov dword [edx + esi], ecx
mov ecx, dword [edi + 8]
or dword [eax + ecx], 0xffffffff
add edx, 4
mov dword [ebp + 0x54], edx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [edi + 0xc]
jb 0x5f39e4
mov eax, dword [edi + 4]
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x5f3b43
mov edx, dword [ebp + 0x74]
mov ecx, dword [edi + 8]
lea esi, [ecx + edx*4]
mov edx, dword [esi]
cmp edx, 0xffffffff
je 0x5f3b34
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0xc]
mov dword [ebp + 0x54], edx
xor edx, edx
cmp dword [ebp + 0x74], eax
jae 0x5f3a98
sub eax, dword [ebp + 0x74]
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x5f3a8f
mov eax, dword [ecx + eax*4]
mov esi, dword [ebp + 0x54]
cmp esi, dword [eax + 0xc]
jne 0x5f3a8f
inc edx
add dword [ebp + 0x48], 4
dec dword [ebp + 0x5c]
jne 0x5f3a79
push 0xffffffffffffffff
and edx, 0xffffff
push 0xffffffffffffffff
or edx, 0x10000000
push edx
mov ecx, ebx
call fcn.005eab2b
cmp eax, 0xffffffff
je 0x5f458c
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + eax*4]
push edi
mov ecx, esi
mov dword [ebp + 0x4c], esi
call fcn.005eb042
mov eax, dword [ebp + 0x74]
inc dword [ebp + 0x70]
cmp eax, dword [edi + 4]
mov dword [ebp + 0x6c], eax
jae 0x5f3b34
and dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [edi + 8]
shl eax, 2
mov ecx, dword [eax + ecx]
cmp ecx, 0xffffffff
je 0x5f3b29
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0xc]
jne 0x5f3b29
mov edx, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
mov esi, dword [eax + ecx]
mov ecx, dword [ebp + 0x5c]
mov dword [ecx + edx], esi
mov edx, dword [edi + 8]
mov esi, dword [ebp + 0x4c]
mov esi, dword [esi + 8]
mov edx, dword [eax + edx]
mov dword [ecx + esi], edx
mov edx, dword [edi + 8]
or dword [eax + edx], 0xffffffff
mov esi, dword [ebp + 0x4c]
add ecx, 4
mov dword [ebp + 0x5c], ecx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [edi + 4]
jb 0x5f3adc
inc dword [ebp + 0x74]
mov eax, dword [edi + 4]
cmp dword [ebp + 0x74], eax
jb 0x5f3a49
cmp dword [ebp + 0x70], 0
jbe 0x5f3b5f
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
sub eax, ecx
lea esi, [edx + eax*4]
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x50]
mov eax, dword [ebx + 0xc]
dec eax
cmp eax, dword [ebp + 0x60]
jbe 0x5f3b82
mov edx, eax
sub edx, dword [ebp + 0x70]
shl edx, 2
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + edx]
sub edx, 4
dec eax
cmp eax, dword [ebp + 0x60]
mov dword [ecx + eax*4], esi
ja 0x5f3b70
xor eax, eax
cmp dword [ebp + 0x70], eax
jbe 0x5f3ba2
mov ecx, dword [ebp + 0x60]
shl ecx, 2
mov esi, dword [ebp + eax*4]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx], esi
inc eax
add ecx, 4
cmp eax, dword [ebp + 0x70]
jb 0x5f3b8f
xor esi, esi
inc esi
push esi
mov ecx, edi
call fcn.005ea786
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x70]
dec dword [ebx + 0xc]
lea eax, [eax + ecx - 1]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x74], esi
inc dword [ebp + 0x60]
mov eax, dword [ebp + 0x60]
cmp eax, dword [ebx + 0xc]
jb 0x5f38b2
cmp dword [ebp + 0x74], 0
je 0x5f3bdc
mov ecx, ebx
call fcn.005eeeae
mov esi, dword [ebp + 0x64]
shl esi, 2
push esi
call fcn.0059e170
test eax, eax
pop ecx
mov dword [ebp + 0x38], eax
je 0x5f458c
mov ecx, esi
mov esi, dword [ebp + 0x38]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
xor edx, edx
rep stosb byte es:[edi], al
cmp dword [ebx + 8], edx
jbe 0x5f3c39
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edx*4]
and dword [eax + 0x40], 0
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [eax]
jne 0x5f3c33
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ecx, [esi + ecx*4]
cmp eax, dword [ecx]
jb 0x5f3c33
inc eax
mov dword [ecx], eax
inc edx
cmp edx, dword [ebx + 8]
jb 0x5f3c12
mov eax, dword [ebx + 0xc]
test eax, eax
ja 0x5f3c5b
and dword [ebp + 0x68], 0
push dword [ebp + 0x38]
call fcn.0059e180
mov eax, dword [ebp + 0x68]
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + 0x18]
dec eax
mov esi, dword [ecx + eax*4]
mov ecx, esi
mov dword [ebp + 0x5c], eax
call fcn.005eb096
test eax, eax
jne 0x5f457d
mov edi, dword [esi]
and edi, 0xffffff
cmp dword [esi + 0xc], eax
je 0x5f3d66
mov ecx, esi
call fcn.005eb0d9
test eax, eax
je 0x5f3c9f
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
jmp 0x5f3d5f
mov ecx, esi
call fcn.005eb10f
test eax, eax
je 0x5f3cca
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.005eedcf
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
jmp 0x5f3d5f
mov ecx, esi
call fcn.005eb121
test eax, eax
je 0x5f3d09
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.005eedcf
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
mov ecx, ebx
call fcn.005eedcf
mov ecx, dword [esi + 8]
push 0
lea eax, [ebp + 0x20]
push edi
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
jmp 0x5f3d5e
mov ecx, esi
call fcn.005eb133
test eax, eax
je 0x5f3d66
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.005eedcf
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
mov ecx, ebx
call fcn.005eedcf
mov ecx, dword [esi + 8]
push 0
push edi
lea eax, [ebp + 0x20]
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
push eax
mov ecx, ebx
call fcn.005eedcf
mov ecx, dword [esi + 8]
push 0
lea eax, [ebp + 0x20]
push edi
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*8]
push eax
mov ecx, ebx
call fcn.005eedcf
xor eax, eax
lea edi, [ebp + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, esi
stosd dword es:[edi], eax
call fcn.005eb0a3
test eax, eax
je 0x5f3e6a
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebx + 0x10]
mov dword [ebp + 0x4c], eax
mov eax, dword [eax]
mov edi, dword [edx + eax*4]
mov eax, dword [edi + 4]
test al, 4
jne 0x5f3e6a
test byte [ebx + 0x90], 1
je 0x5f3db0
test al, 0x10
jne 0x5f3e6a
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov edx, dword [ecx + edx*4]
mov edi, dword [ebx + 0x60]
cmp edi, dword [edx]
jne 0x5f3e6a
and dword [ebp + 0x74], 0
cmp dword [esi + 4], 0
jbe 0x5f3e6a
mov edx, dword [ebx + 0x34]
mov dword [ebp + 0x48], eax
and edx, 8
lea eax, [ebp + 0x10]
sub dword [ebp + 0x48], eax
mov dword [ebp + 0x50], edx
cmp dword [ebp + 0x50], 0
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x48]
lea eax, [eax + edx*4]
mov eax, dword [ebp + eax + 0x10]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0x2c]
mov edx, dword [ebx + 0x18]
mov edx, dword [edx + edi*4]
je 0x5f3e17
mov edi, dword [ebp + 0x4c]
mov edi, dword [edi + 0x44]
test edi, edi
je 0x5f3e17
mov eax, dword [eax + 0x44]
test eax, eax
je 0x5f3e17
cmp edi, eax
jne 0x5f3e6a
mov eax, dword [edx + 0xc]
and dword [ebp + 0x6c], 0
test eax, eax
mov dword [ebp + 0x54], eax
jbe 0x5f3e48
mov edx, dword [edx + 0x10]
mov eax, dword [edx]
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp + 0x5c]
cmp edi, dword [eax + 0x38]
jne 0x5f3e48
cmp edi, dword [eax + 0x3c]
jne 0x5f3e48
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
add edx, 4
cmp eax, dword [ebp + 0x54]
jb 0x5f3e28
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x6c], eax
jne 0x5f3e5b
mov eax, dword [ebp + 0x74]
mov dword [ebp + eax*4 + 0x10], 1
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [esi + 4]
jb 0x5f3de3
mov ecx, esi
call fcn.005eb10f
test eax, eax
jne 0x5f3e97
mov ecx, esi
call fcn.005eb121
test eax, eax
jne 0x5f3e97
mov ecx, esi
call fcn.005eb133
test eax, eax
jne 0x5f3e97
mov dword [ebp + eax*4 - 0x20], eax
inc eax
cmp eax, 4
jb 0x5f3e8b
jmp 0x5f3ece
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x5f3ece
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 0x20]
sub eax, edx
mov edx, dword [ebp + 0x6c]
shl edx, 2
inc dword [ebp + 0x6c]
lea edi, [eax + edx]
mov edi, dword [ebp + edi - 0x20]
mov edi, dword [ecx + edi*4]
mov edi, dword [edi + 0xc]
mov dword [ebp + edx - 0x20], edi
mov edx, dword [ebp + 0x6c]
cmp edx, dword [esi + 0xc]
jb 0x5f3eac
and dword [ebp + 0x54], 0
lea eax, [ebp + 0x60]
push eax
push 0
jmp 0x5f44bd
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ecx, ecx
cmp dword [ebp + 0x58], ecx
stosd dword es:[edi], eax
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x4c], ecx
stosd dword es:[edi], eax
mov dword [ebp + 0x74], ecx
jbe 0x5f40ca
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [eax]
mov dword [ebp + 0x68], eax
jne 0x5f40b5
mov edx, dword [eax + 0x2c]
cmp edx, 0xffffffff
je 0x5f40b5
cmp dword [eax + 0x40], 0
je 0x5f3f30
mov dword [ebp + 0x70], 1
mov eax, dword [eax + 0xc]
lea eax, [ebp + eax*4 - 0x10]
mov ecx, dword [eax]
test ecx, ecx
jne 0x5f3f40
inc dword [ebp + 0x4c]
inc ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x18]
mov edi, dword [eax + edx*4]
mov ecx, edi
mov dword [ebp + 0x3c], edi
call fcn.005eb10f
test eax, eax
jne 0x5f3f8d
mov ecx, edi
call fcn.005eb121
test eax, eax
jne 0x5f3f8d
mov ecx, edi
call fcn.005eb133
test eax, eax
jne 0x5f3f8d
inc eax
cmp dword [edi + 0xc], eax
jbe 0x5f3f82
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x68]
cmp ecx, dword [edx + 0xc]
jne 0x5f40a3
mov ecx, dword [ebp + 0x68]
mov ecx, dword [ecx + 0xc]
jmp 0x5f409d
mov edx, dword [ebp + 0x68]
cmp dword [edx + 0x40], 0
je 0x5f4087
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + eax*4 - 0x20]
cmp ecx, dword [edx + 0xc]
mov dword [ebp + 0x34], ecx
je 0x5f4087
mov ecx, dword [edi + 0xc]
or dword [ebp + 0x44], 0xffffffff
or dword [ebp + 0x6c], 0xffffffff
and dword [ebp + 0x64], 0
test ecx, ecx
mov dword [ebp + 0x50], ecx
jbe 0x5f4087
mov ecx, dword [ebp + 0x60]
lea eax, [ecx + eax*4]
mov ecx, dword [edi + 0x10]
mov dword [ebp + 0x40], eax
mov eax, dword [eax]
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x48], ecx
mov ecx, dword [ebp + 0x48]
mov ecx, dword [ecx]
cmp dword [ebp + 0x30], ecx
jne 0x5f3fee
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x44], edx
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp + 0x34]
cmp edx, dword [ecx + 0xc]
jne 0x5f3fff
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
inc dword [ebp + 0x64]
mov ecx, dword [ebp + 0x64]
add dword [ebp + 0x48], 4
cmp ecx, dword [ebp + 0x50]
jb 0x5f3fde
mov edx, dword [ebp + 0x44]
cmp edx, 0xffffffff
je 0x5f4087
mov eax, dword [ebp + 0x6c]
cmp eax, 0xffffffff
je 0x5f4087
mov ecx, eax
mov eax, dword [edi + 8]
mov edx, dword [eax + edx*4]
shl ecx, 2
cmp edx, dword [eax + ecx]
mov dword [ebp + 0x30], ecx
jne 0x5f4087
mov edx, dword [ebp + 0x50]
lea ecx, [edx + edx]
cmp dword [edi + 4], ecx
mov dword [ebp + 0x34], ecx
jb 0x5f4057
mov edi, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x6c]
add edi, edx
mov edi, dword [eax + edi*4]
add ecx, edx
cmp edi, dword [eax + ecx*4]
jne 0x5f4084
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x3c]
lea edx, [edx + edx*2]
cmp dword [edi + 4], edx
jb 0x5f4074
mov edi, dword [ebp + 0x44]
mov edx, dword [ebp + 0x6c]
add edi, ecx
add edx, ecx
mov ecx, dword [eax + edi*4]
cmp ecx, dword [eax + edx*4]
jne 0x5f4084
mov edi, dword [ebp + 0x3c]
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], eax
jmp 0x5f4087
mov edi, dword [ebp + 0x3c]
push dword [edi]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x5f40a6
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax + 0xc]
xor eax, eax
inc eax
cmp dword [ebp + ecx*4 - 0x10], eax
jbe 0x5f40a6
mov dword [ebp + 0x70], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp + 0x58]
jb 0x5f3efa
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x74], eax
jae 0x5f40c4
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], 0
jne 0x5f412f
mov ecx, esi
call fcn.005eb0a3
test eax, eax
jne 0x5f40f3
mov ecx, dword [ebp + eax*4 - 0x10]
cmp ecx, dword [ebp + 0x58]
je 0x5f40e6
inc eax
cmp eax, 4
jb 0x5f40d5
jmp 0x5f40ed
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], 0
jne 0x5f412f
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x4c]
cmp edx, dword [ecx + eax*4]
je 0x5f413d
xor ecx, ecx
xor eax, eax
cmp dword [esi + 0xc], ecx
jbe 0x5f413d
cmp dword [ebp + eax*4 + 0x10], ecx
je 0x5f4123
inc eax
cmp eax, dword [esi + 0xc]
jb 0x5f4115
jmp 0x5f412a
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], ecx
je 0x5f413d
xor eax, eax
lea edi, [ebp + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x5f44b3
xor eax, eax
cmp dword [ebp + 0x58], eax
mov dword [ebp + 0x74], eax
jbe 0x5f41fb
jmp 0x5f4150
mov eax, dword [ebp + 0x74]
cmp dword [ebp + eax*4 + 0x10], 0
je 0x5f4166
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + eax*4]
mov dword [ebp + eax*4 - 0x30], ecx
jmp 0x5f41eb
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x60]
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + ecx*4]
mov edi, dword [edx + eax*4]
mov edx, dword [edi + 0xc]
cmp dword [ebp + edx*4 - 0x10], 1
jne 0x5f418c
mov dword [ebp + ecx*4 - 0x30], eax
mov eax, dword [ebp + ecx*4 - 0x20]
mov dword [edi + 0xc], eax
jmp 0x5f41ee
mov eax, dword [ebp + 0x74]
fldz
push ecx
push ecx
fstp qword [esp]
push dword [ebp + eax*4 - 0x20]
mov ecx, ebx
push dword [edi + 8]
push dword [edi]
call fcn.005eaacf
cmp eax, 0xffffffff
mov ecx, dword [ebp + 0x74]
mov dword [ebp + ecx*4 - 0x30], eax
je 0x5f458c
mov ecx, dword [ebx + 0x14]
shl eax, 2
mov ecx, dword [eax + ecx]
push edi
mov dword [ebp + 0x40], eax
call fcn.005eb2fc
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0x40]
mov eax, dword [ecx + eax]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x38]
lea eax, [ecx + eax*4]
inc dword [eax]
mov eax, dword [edi + 0xc]
lea eax, [ebp + eax*4 - 0x10]
dec dword [eax]
mov ecx, dword [ebp + 0x74]
inc ecx
cmp ecx, dword [ebp + 0x58]
mov dword [ebp + 0x74], ecx
jb 0x5f414d
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x58], 0
jbe 0x5f4489
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x6c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0x40], 0
mov dword [ebp + 0x44], eax
jne 0x5f447a
and dword [ebp + 0x64], 0
mov edx, dword [ebp + 0x6c]
jmp 0x5f4262
mov eax, dword [ebp + 0x60]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp + 0x44]
mov ecx, dword [ecx + eax*4]
mov edi, dword [edi + 0x2c]
cmp edi, dword [ecx + 0x2c]
jne 0x5f4261
mov edi, dword [ebp + 0x64]
shl edi, 2
inc dword [ebp + 0x64]
mov dword [ebp + edi - 0x40], eax
mov eax, dword [ebp + edx*4 - 0x30]
mov dword [ebp + edi - 0x50], eax
mov dword [ecx + 0x40], 1
inc edx
cmp edx, dword [ebp + 0x58]
jb 0x5f422e
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax + 0x2c]
mov edi, dword [ecx + eax*4]
mov ecx, edi
call fcn.005eb10f
test eax, eax
jne 0x5f42d9
mov ecx, edi
call fcn.005eb121
test eax, eax
jne 0x5f42d9
mov ecx, edi
call fcn.005eb133
test eax, eax
jne 0x5f42d9
and dword [ebp + 0x68], eax
cmp dword [edi + 0xc], eax
jbe 0x5f447a
mov eax, dword [edi + 0x10]
mov edx, dword [ebp + 0x68]
lea eax, [eax + edx*4]
mov dword [ebp + 0x40], eax
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp + 0x60]
cmp eax, dword [edx + ecx*4]
je 0x5f42c0
inc ecx
cmp ecx, dword [ebp + 0x58]
jb 0x5f42b0
jmp 0x5f42c9
mov eax, dword [ebp + ecx*4 - 0x30]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], eax
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [edi + 0xc]
jb 0x5f42a0
jmp 0x5f447a
and dword [ebp + 0x74], 0
cmp dword [ebp + 0x64], 0
jbe 0x5f4321
mov edx, dword [edi + 0xc]
and dword [ebp + 0x68], 0
test edx, edx
jbe 0x5f4316
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + eax*4 - 0x40]
mov eax, dword [edi + 0x10]
cmp dword [eax], ecx
je 0x5f430c
inc dword [ebp + 0x68]
mov edx, dword [edi + 0xc]
add eax, 4
cmp dword [ebp + 0x68], edx
jb 0x5f42f8
jmp 0x5f4316
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x74]
mov dword [ebp + ecx*4], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp + 0x64]
jb 0x5f42e6
push 0x38
call fcn.0059e170
test eax, eax
pop ecx
je 0x5f4339
mov ecx, eax
call fcn.005ead09
mov dword [ebp + 0x70], eax
jmp 0x5f433d
and dword [ebp + 0x70], 0
cmp dword [ebp + 0x70], 0
je 0x5f458c
mov ecx, edi
call fcn.005eb10f
test eax, eax
je 0x5f4357
mov eax, dword [ebp + 0x64]
jmp 0x5f436c
mov ecx, edi
call fcn.005eb121
test eax, eax
mov eax, dword [ebp + 0x64]
je 0x5f4369
add eax, eax
jmp 0x5f436c
lea eax, [eax + eax*2]
mov ecx, dword [ebp + 0x70]
push 0
push dword [ebp + 0x64]
push eax
mov eax, dword [edi]
xor eax, dword [ebp + 0x64]
and eax, 0xffffff
xor eax, dword [edi]
push eax
call fcn.005ead60
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x5f4598
mov ecx, dword [ebp + 0x70]
push edi
call fcn.005eb042
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x5f4598
mov eax, dword [ebp + 0x64]
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x5f4454
lea ecx, [eax + eax*2]
mov dword [ebp + 0x40], ecx
lea ecx, [eax + eax]
shl ecx, 2
shl eax, 2
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp + eax*4 - 0x50]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + eax*4]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x74]
mov edx, dword [edx + 8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x70]
add eax, eax
cmp dword [ecx + 4], eax
jb 0x5f4416
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x74]
add eax, dword [ebp + edx*4]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0x4c]
mov dword [edx + ecx], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 4], eax
jb 0x5f443d
mov edx, dword [edi + 0xc]
mov eax, dword [ebp + 0x74]
mov eax, dword [ebp + eax*4]
mov ecx, dword [ecx + 8]
lea eax, [eax + edx*2]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp + 0x3c]
mov dword [edx + ecx], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
add dword [ebp + 0x4c], 4
add dword [ebp + 0x3c], 4
cmp eax, dword [ebp + 0x64]
jb 0x5f43ca
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x5f446b
push 1
call fcn.005ea786
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp + 0x70]
mov dword [ecx + eax*4], edx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x58]
jb 0x5f4209
xor eax, eax
cmp dword [ebp + 0x58], eax
jbe 0x5f44b3
mov ecx, dword [ebp + eax*4 - 0x30]
mov edx, dword [ebp + 0x60]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp + 0x60]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
inc eax
cmp eax, dword [ebp + 0x58]
mov dword [ecx + 0x40], 1
jb 0x5f4490
inc dword [ebp + 0x54]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x54]
mov ecx, esi
call fcn.005eb05c
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x5f3edd
mov ecx, esi
call fcn.005eb0a3
test eax, eax
je 0x5f457d
xor edx, edx
xor ecx, ecx
cmp dword [esi + 0xc], edx
mov dword [ebp + 0x54], edx
jbe 0x5f455f
cmp dword [ebp + edx*4 + 0x10], 0
jne 0x5f4509
mov eax, dword [esi + 0x10]
mov edx, dword [eax + edx*4]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0x54]
mov edx, dword [eax + edx*4]
mov dword [eax + ecx*4], edx
inc ecx
jmp 0x5f4553
mov edi, dword [esi + 0x10]
mov edx, dword [ebx + 0x14]
mov eax, ecx
shl eax, 2
mov edi, dword [eax + edi]
mov edi, dword [edx + edi*4]
cmp dword [edi + 0x44], 0
mov dword [ebp + 0x40], edi
jne 0x5f4553
mov edi, dword [esi + 8]
mov edi, dword [eax + edi]
mov edx, dword [edx + edi*4]
mov edx, dword [edx + 0x44]
mov edi, dword [ebp + 0x40]
mov dword [edi + 0x44], edx
mov edi, dword [esi + 8]
mov edi, dword [eax + edi]
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + edi*4]
mov edi, dword [esi + 0x10]
mov edi, dword [eax + edi]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edi*4]
mov edx, dword [edx + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [ebp + 0x54]
inc edx
cmp edx, dword [esi + 0xc]
mov dword [ebp + 0x54], edx
jb 0x5f44ea
mov edx, ecx
and edx, 0xffffff
mov eax, ecx
or edx, 0x10000000
neg eax
sbb eax, eax
and eax, edx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ecx
cmp dword [ebp + 0x5c], 0
ja 0x5f3c58
jmp 0x5f3c40
mov dword [ebp + 0x68], 0x8007000e
jmp 0x5f3c44
mov ecx, dword [ebp + 0x70]
push 1
call fcn.005ea786
jmp 0x5f3c44