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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x77810e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
xor esi, esi
shr eax, 0x1f
xor ebx, ebx
add eax, edx
mov dword [esp + 0x14], esi
je 0x6a4aea
jmp 0x6a4050
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x118], 0
sete cl
test cl, cl
jne 0x6a41e7
cmp esi, eax
jb 0x6a406f
call fcn.006441b7
mov eax, dword [edi + 0xc]
lea edx, [esi + esi*8]
mov ecx, dword [eax + edx*4 + 0x10]
sub ecx, dword [eax + edx*4 + 0xc]
lea eax, [eax + edx*4]
sar ecx, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
test ecx, ecx
jbe 0x6a4ac6
jmp 0x6a40a0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x104]
mov ecx, dword [eax + 0xc30]
sub ecx, dword [eax + 0xc2c]
add eax, 0xc20
sar ecx, 8
xor edi, edi
test ecx, ecx
jbe 0x6a41c2
mov dword [esp + 0x24], edi
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
sar edx, 2
cmp dword [esp + 0x20], edx
jb 0x6a40e8
call fcn.006441b7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0xc]
add eax, eax
add eax, eax
add ebx, eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x104]
mov edx, dword [esi + 0xc30]
sub edx, dword [esi + 0xc2c]
add esi, 0xc20
sar edx, 8
cmp edi, edx
jb 0x6a4125
call fcn.006441b7
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
mov edx, dword [ebx]
mov esi, dword [esp + 0x24]
cmp edx, dword [esi + eax]
je 0x6a41e7
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp dword [esp + 0x20], eax
jb 0x6a414b
call fcn.006441b7
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [edx + 0x104]
mov ebx, dword [ecx + 0xc]
add eax, eax
add eax, eax
add ebx, eax
mov eax, dword [esi + 0xc30]
sub eax, dword [esi + 0xc2c]
add esi, 0xc20
sar eax, 8
cmp edi, eax
jb 0x6a4184
call fcn.006441b7
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx]
mov eax, dword [esp + 0x24]
cmp edx, dword [ecx + eax + 4]
je 0x6a41e7
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x104]
mov edx, dword [eax + 0xc30]
sub edx, dword [eax + 0xc2c]
add dword [esp + 0x24], 0x100
add eax, 0xc20
inc edi
sar edx, 8
cmp edi, edx
jb 0x6a40d0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x20]
inc eax
sar edx, 2
mov dword [esp + 0x20], eax
cmp eax, edx
jb 0x6a40a0
xor ebx, ebx
jmp 0x6a4abf
push 4
call fcn.006442a0
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x6a41ff
lea ecx, [esp + 0x5c]
mov dword [eax], ecx
jmp 0x6a4201
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 8]
lea esi, [esi + esi*8]
add esi, esi
add esi, esi
mov dword [esp + 0x80], 1
mov dword [esp + 0x18], esi
mov edi, edi
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x6a4252
call fcn.006441b7
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + eax + 0x10]
sub ecx, dword [esi + eax + 0xc]
sar ecx, 2
cmp ebx, ecx
jae 0x6a4319
mov ecx, dword [edi + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x6a4289
call fcn.006441b7
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp ebx, ecx
jb 0x6a42a2
call fcn.006441b7
mov edx, dword [esi + 0xc]
mov esi, dword [edx + ebx*4]
mov ecx, dword [esp + 0x68]
add esi, 4
test ecx, ecx
jne 0x6a42b7
xor eax, eax
jmp 0x6a42c0
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
sar ecx, 2
cmp ecx, eax
jae 0x6a42e8
mov eax, dword [esp + 0x6c]
mov edx, dword [esi]
mov esi, dword [esp + 0x18]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x6c], eax
inc ebx
jmp 0x6a4230
mov edi, dword [esp + 0x6c]
cmp dword [esp + 0x68], edi
jbe 0x6a42f7
call fcn.006441b7
mov eax, dword [esp + 0x5c]
push edi
push eax
push esi
lea ecx, [esp + 0x50]
push ecx
lea eax, [esp + 0x6c]
call fcn.004024a0
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x18]
inc ebx
jmp 0x6a4230
xor bl, bl
xor eax, eax
mov byte [esp + 0x13], bl
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea esp, [esp]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x92c]
sub ecx, dword [esi + 0x928]
mov edi, dword [esp + 0x24]
add esi, 0x91c
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x6a447d
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x6a4383
call fcn.006441b7
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x10]
sub eax, dword [esp + 0x68]
sub edx, dword [esi + 0xc]
sar eax, 2
sar edx, 2
cmp edx, eax
jne 0x6a4463
mov byte [esp + 0x13], 1
mov dword [esp + 0x28], 0
test eax, eax
jbe 0x6a4463
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0xc], eax
jbe 0x6a43cc
call fcn.006441b7
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x28]
mov eax, dword [esi]
sar ecx, 2
mov dword [esp + 0x3c], eax
cmp edi, ecx
jb 0x6a43ea
call fcn.006441b7
mov edx, dword [esp + 0x68]
mov ebx, dword [esi + 0x10]
lea eax, [edx + edi*4]
mov dword [esp + 0x30], eax
cmp dword [esi + 0xc], ebx
jbe 0x6a4402
call fcn.006441b7
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x6a440f
call fcn.006441b7
mov ecx, dword [esi]
cmp edi, ebx
je 0x6a442b
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
jmp 0x6a4420
cmp dword [edi], eax
je 0x6a442b
add edi, 4
cmp edi, ebx
jne 0x6a4420
test ecx, ecx
je 0x6a4435
cmp ecx, dword [esp + 0x3c]
je 0x6a443a
call fcn.006441b7
cmp edi, dword [esp + 0x2c]
je 0x6a445e
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x28]
inc eax
sar ecx, 2
mov dword [esp + 0x28], eax
cmp eax, ecx
jb 0x6a43bb
jmp 0x6a4463
mov byte [esp + 0x13], 0
mov bl, byte [esp + 0x13]
inc dword [esp + 0x24]
add dword [esp + 0x20], 0x18
test bl, bl
je 0x6a4330
jmp 0x6a4a88
test bl, bl
jne 0x6a4a88
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
push edx
add edi, 0x91c
call fcn.00404f90
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], 0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x6a44cc
call fcn.006441b7
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx + eax + 0x10]
sub ecx, dword [ebx + eax + 0xc]
sar ecx, 2
cmp dword [esp + 0x20], ecx
jge 0x6a4a88
mov ecx, dword [edi + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x6a4503
call fcn.006441b7
mov esi, dword [edi + 0xc]
mov ecx, dword [esi + ebx + 0x10]
sub ecx, dword [esi + ebx + 0xc]
add esi, ebx
sar ecx, 2
cmp dword [esp + 0x20], ecx
jb 0x6a451e
call fcn.006441b7
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x24], ecx
xor ebx, ebx
mov edi, edi
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x6a4554
call fcn.006441b7
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax + 0x10]
sub edx, dword [ecx + eax + 0xc]
sar edx, 2
cmp ebx, edx
jge 0x6a45b4
mov ecx, dword [edi + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x6a4589
call fcn.006441b7
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp ebx, ecx
jb 0x6a45a2
call fcn.006441b7
mov edx, dword [esi + 0xc]
mov esi, dword [edx + ebx*4]
cmp dword [esp + 0x24], esi
jne 0x6a45bd
inc ebx
jmp 0x6a4530
inc dword [esp + 0x20]
jmp 0x6a44a4
mov eax, dword [esp + 0x24]
fld dword [eax + 0x10]
mov dword [esp + 0x20], 0
call fcn.0076f850
xor edx, edx
xor ecx, ecx
cmp eax, ecx
jl 0x6a45e7
lea ebx, [ecx + 0x80]
cmp eax, ebx
jl 0x6a4727
sub ecx, 0xffffff80
inc edx
cmp ecx, 0x400
jl 0x6a45d5
mov dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x24]
fld dword [ecx + 0x14]
call fcn.0076f850
xor edx, edx
xor ecx, ecx
jmp 0x6a4610
cmp eax, ecx
jl 0x6a4622
lea ebx, [ecx + 0x80]
cmp eax, ebx
jl 0x6a4730
sub ecx, 0xffffff80
inc edx
cmp ecx, 0x400
jl 0x6a4610
mov dword [esp + 0x24], 0xffffffff
fld dword [esi + 0x10]
call fcn.0076f850
xor edx, edx
xor ecx, ecx
cmp eax, ecx
jl 0x6a4650
lea ebx, [ecx + 0x80]
cmp eax, ebx
jl 0x6a465f
sub ecx, 0xffffff80
inc edx
cmp ecx, 0x400
jl 0x6a4642
or edx, 0xffffffff
mov eax, dword [esp + 0x28]
cmp eax, edx
jne 0x6a486b
test eax, eax
jl 0x6a486b
xor ebx, ebx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x6a4699
call fcn.006441b7
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax + 0x10]
sub edx, dword [ecx + eax + 0xc]
mov ecx, dword [edi + 0x10]
sar edx, 2
sub ecx, eax
mov eax, 0x38e38e39
cmp ebx, edx
jae 0x6a4739
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x6a46d2
call fcn.006441b7
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp ebx, ecx
jb 0x6a46eb
call fcn.006441b7
mov edx, dword [esi + 0xc]
mov eax, dword [edx + ebx*4]
fld dword [eax + 0x14]
call fcn.0076f850
xor edx, edx
xor ecx, ecx
lea ecx, [ecx]
cmp eax, ecx
jl 0x6a470e
lea esi, [ecx + 0x80]
cmp eax, esi
jl 0x6a471d
sub ecx, 0xffffff80
inc edx
cmp ecx, 0x400
jl 0x6a4700
or edx, 0xffffffff
add dword [esp + 0x20], edx
inc ebx
jmp 0x6a4675
mov dword [esp + 0x28], edx
jmp 0x6a45fb
mov dword [esp + 0x24], edx
jmp 0x6a4636
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x6a474e
call fcn.006441b7
mov edx, edi
mov eax, dword [edx + 0xc]
add eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
sar ecx, 2
cdq
idiv ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub eax, ebx
mov ecx, ebx
shl ecx, 9
mov dword [esp + 0x24], eax
or edi, 0xffffffff
lea eax, [edx + eax*8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
shl eax, 5
mov dword [esp + 0x30], edi
lea esi, [eax + ecx + 0x12c]
test ebx, ebx
jne 0x6a47ad
cmp edi, 1
je 0x6a4841
cmp dword [esp + 0x24], 7
ja 0x6a4841
cmp dword [esi + 8], 0
jg 0x6a47c2
inc dword [esp + 0x18]
test ebx, ebx
jne 0x6a47e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x120]
push eax
mov eax, dword [esp + 0x28]
push eax
call edx
jmp 0x6a4841
mov ecx, dword [esi - 4]
lea eax, [ebx + ebx*4]
add eax, eax
mov dword [esp + 0x2c], eax
test ecx, ecx
jne 0x6a47f4
xor eax, eax
jmp 0x6a47fc
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 2
mov edi, dword [esi]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x6a4816
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
add edi, 4
mov dword [esi], edi
jmp 0x6a4836
cmp ecx, edi
jbe 0x6a481f
call fcn.006441b7
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
push edi
push ecx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.004024a0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov dword [esi + 0xc], eax
add esi, dword [esp + 0x34]
add edi, 2
lea eax, [ebx + ebx]
add dword [esp + 0x24], eax
cmp edi, 1
mov dword [esp + 0x30], edi
jle 0x6a47a0
inc ebx
cmp ebx, 7
jle 0x6a4771
jmp 0x6a4a88
fld dword [esi + 0x14]
call fcn.0076f850
xor edx, edx
xor ecx, ecx
cmp eax, ecx
jl 0x6a4885
lea esi, [ecx + 0x80]
cmp eax, esi
jl 0x6a4894
sub ecx, 0xffffff80
inc edx
cmp ecx, 0x400
jl 0x6a4877
or edx, 0xffffffff
cmp dword [esp + 0x24], edx
jne 0x6a4a88
cmp dword [esp + 0x24], 0
jl 0x6a4a88
xor ebx, ebx
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x6a48cf
call fcn.006441b7
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax + 0x10]
sub edx, dword [ecx + eax + 0xc]
mov ecx, dword [edi + 0x10]
sar edx, 2
sub ecx, eax
mov eax, 0x38e38e39
cmp ebx, edx
jae 0x6a4957
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x6a4904
call fcn.006441b7
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp ebx, ecx
jb 0x6a491d
call fcn.006441b7
mov edx, dword [esi + 0xc]
mov eax, dword [edx + ebx*4]
fld dword [eax + 0x10]
call fcn.0076f850
xor edx, edx
xor ecx, ecx
nop
cmp eax, ecx
jl 0x6a493e
lea esi, [ecx + 0x80]
cmp eax, esi
jl 0x6a494d
sub ecx, 0xffffff80
inc edx
cmp ecx, 0x400
jl 0x6a4930
or edx, 0xffffffff
add dword [esp + 0x20], edx
inc ebx
jmp 0x6a48ab
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x6a496c
call fcn.006441b7
mov edi, dword [edi + 0xc]
add edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
cdq
sar ecx, 2
idiv ecx
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x20]
or ebx, 0xffffffff
sub esi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
test edi, edi
jne 0x6a49af
cmp ebx, 1
je 0x6a4a61
cmp esi, 7
ja 0x6a4a61
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea eax, [esi + edx*8]
shl eax, 5
add eax, ecx
cmp dword [eax + 0x134], 0
mov dword [esp + 0x38], eax
jg 0x6a49d9
inc dword [esp + 0x28]
test edi, edi
jne 0x6a49ef
mov edx, dword [ecx]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x120]
push esi
push eax
call edx
jmp 0x6a4a61
lea esi, [eax + 0x11c]
mov eax, dword [esi + 0xc]
lea edx, [edi + edi*4]
add edx, edx
mov dword [esp + 0x34], edx
test eax, eax
jne 0x6a4a09
xor ecx, ecx
jmp 0x6a4a11
mov ecx, dword [esi + 0x14]
sub ecx, eax
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, eax
sar ebx, 2
cmp ebx, ecx
jae 0x6a4a29
mov dword [edi], edx
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x6a4a47
cmp eax, edi
jbe 0x6a4a32
call fcn.006441b7
mov eax, dword [esi]
push edi
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x60]
push ecx
mov eax, esi
call fcn.004024a0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov dword [edx + 0x138], eax
add ebx, 2
lea eax, [edi + edi]
add esi, eax
cmp ebx, 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
jle 0x6a49a2
inc edi
cmp edi, 7
mov dword [esp + 0x18], edi
jle 0x6a4991
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x68]
xor ebx, ebx
cmp eax, ebx
je 0x6a4aa6
push eax
call fcn.006441c7
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.006441c7
add esp, 4
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x14], esi
cmp esi, eax
jb 0x6a4050
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc