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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x400b8
call fcn.00450100
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x674aa2
push str.AHD_interpolation..._n
push 0x779f40
call fcn.006fabb2
add esp, 8
xor edi, edi
lea ebx, [esp + 0xc4]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fmul dword [0x73fa0c]
fst dword [esp + 0xc]
fcomp dword [0x73fa08]
fnstsw ax
test ah, 0x41
jne 0x674adb
fld dword [esp + 0xc]
fld qword [0x73fa00]
call fcn.006fb640
jmp 0x674aeb
fld dword [esp + 0xc]
fmul dword [0x73f9fc]
fadd dword [0x73f9f8]
fstp dword [ebx]
inc edi
add ebx, 4
cmp edi, 0x10000
mov dword [esp + 0x10], edi
jl 0x674aaf
lea edi, [esp + 0x94]
mov dword [esp + 0xc], 0x73c190
mov dword [esp + 0x18], edi
mov ebx, 0x73c1d8
mov eax, dword [esi + 0x66cc]
test eax, eax
jle 0x674b6a
lea ecx, [esi + 0xe7c4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xc]
mov dword [edi], 0
fld dword [edi]
mov edx, 3
fld dword [ecx]
fmul qword [eax]
add eax, 8
add ecx, 0x10
dec edx
fdiv dword [ebx]
faddp st(1)
jne 0x674b3e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
fstp dword [edi]
add edi, 4
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
jne 0x674b2d
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
add ebx, 4
add edi, 0x10
add ecx, 0x18
cmp ebx, 0x73c1e4
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], ecx
jl 0x674b15
push 5
push esi
call fcn.00673900
push 0x1a0000
call fcn.0045140d
mov edi, eax
push edi
push esi
mov dword [esp + 0x38], edi
call fcn.00667bd0
xor eax, eax
add esp, 0x14
mov ax, word [esi + 0x66b0]
mov dword [esp + 0x1c], 2
sub eax, 5
cmp eax, 2
jle 0x675645
xor ecx, ecx
mov dword [esp + 0x20], 2
mov cx, word [esi + 0x66b2]
sub ecx, 5
cmp ecx, 2
jle 0x675620
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
lea eax, [edi + 0x100]
cmp edi, eax
jge 0x674e0c
xor edx, edx
mov dx, word [esi + 0x66b0]
sub edx, 2
cmp edi, edx
jge 0x674e0c
mov ecx, dword [esp + 0x20]
mov ebx, dword [esi + 0x65ac]
mov eax, edi
and ecx, 1
and eax, 7
mov edx, ebx
shl eax, 1
add ecx, eax
shl ecx, 1
shr edx, cl
mov ecx, dword [esp + 0x20]
and edx, 1
add edx, ecx
mov ecx, edx
mov dword [esp + 0x18], edx
and ecx, 1
add ecx, eax
mov eax, dword [esp + 0x20]
shl ecx, 1
shr ebx, cl
add eax, 0x100
and ebx, 3
cmp edx, eax
mov dword [esp + 0x28], ebx
jge 0x674df5
xor eax, eax
mov ax, word [esi + 0x66b2]
lea ecx, [eax - 2]
cmp edx, ecx
jge 0x674df5
imul eax, edi
mov ecx, dword [esi + 0x66e0]
add eax, edx
xor edi, edi
mov si, word [ecx + eax*8 + 0xa]
lea eax, [ecx + eax*8]
mov ecx, esi
mov di, word [eax + ebx*2]
and ecx, 0xffff
mov dword [esp + 0xc], ecx
mov cx, word [eax - 6]
and ecx, 0xffff
mov dword [esp + 0x10], ecx
add edi, ecx
add edi, dword [esp + 0xc]
shl edi, 1
mov ecx, edi
xor edi, edi
mov di, word [eax + ebx*2 + 0x10]
sub ecx, edi
xor edi, edi
mov di, word [eax + ebx*2 - 0x10]
sub ecx, edi
sar ecx, 2
cmp word [eax - 6], si
jae 0x674ce5
mov edi, dword [esp + 0xc]
cmp ecx, edi
jge 0x674cd3
mov edi, ecx
mov esi, dword [esp + 0x10]
cmp esi, edi
jg 0x674d01
mov esi, dword [esp + 0xc]
cmp ecx, esi
jge 0x674d01
jmp 0x674cff
mov edi, dword [esp + 0x10]
cmp ecx, edi
jge 0x674cef
mov edi, ecx
mov esi, dword [esp + 0xc]
cmp esi, edi
jg 0x674d01
mov esi, dword [esp + 0x10]
cmp ecx, esi
jge 0x674d01
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
sub ecx, edi
mov edi, dword [esp + 0x20]
shl ecx, 8
sub ecx, edi
add ecx, edx
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + edx*2]
mov edx, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov word [ecx + 2], si
xor ecx, ecx
mov cx, word [edx + 0x66b2]
mov edx, eax
shl ecx, 3
sub edx, ecx
xor esi, esi
mov di, word [edx + 2]
mov dx, word [ecx + eax + 2]
mov dword [esp + 0xc], edx
and edx, 0xffff
mov dword [esp + 0x10], edx
mov edx, ebx
sub edx, ecx
mov dword [esp + 0x30], edi
and edi, 0xffff
mov si, word [eax + edx*2]
xor edx, edx
mov dx, word [eax + ebx*2]
mov ebx, dword [esp + 0x10]
add edx, ebx
mov ebx, dword [esp + 0x28]
add edx, edi
add ecx, ebx
shl edx, 1
sub edx, esi
xor esi, esi
mov si, word [eax + ecx*2]
mov ax, word [esp + 0xc]
sub edx, esi
sar edx, 2
cmp word [esp + 0x30], ax
jae 0x674dad
mov ecx, dword [esp + 0x10]
mov eax, edx
cmp edx, ecx
jl 0x674da1
mov eax, ecx
cmp edi, eax
jg 0x674dc5
cmp edx, ecx
jl 0x674dc7
mov edx, ecx
jmp 0x674dc7
cmp edx, edi
mov eax, edx
jl 0x674db5
mov eax, edi
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x674dc1
mov edx, ecx
jmp 0x674dc7
cmp edx, edi
jl 0x674dc7
mov edx, edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x14]
mov word [ecx + 0x60002], dx
mov edx, dword [esp + 0x18]
add edx, 2
add eax, 0x100
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x674c5d
mov ecx, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x14], edi
lea eax, [ecx + 0x100]
cmp edi, eax
jl 0x674bfd
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
lea eax, [edx + 0xff]
mov ecx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
cmp ebx, eax
mov dword [esp + 0x14], ebx
jge 0x6751b3
xor edx, edx
mov dx, word [esi + 0x66b0]
sub edx, 3
cmp ebx, edx
jge 0x6751b3
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
add eax, 0xff
cmp ecx, eax
mov dword [esp + 0x18], ecx
jge 0x675199
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 0x66b2]
mov dword [esp + 0xc], eax
add eax, 0xfffffffd
cmp ecx, eax
jge 0x675199
mov eax, dword [esp + 0xc]
mov esi, dword [edx + 0x66e0]
imul eax, ebx
add eax, ecx
mov edx, dword [edx + 0x65ac]
lea edi, [esi + eax*8]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
sub eax, esi
mov esi, dword [esp + 0x20]
add eax, ebx
shl eax, 8
sub eax, esi
mov esi, dword [esp + 0x24]
add eax, ecx
and ecx, 1
mov dword [esp + 0x30], ecx
lea eax, [eax + eax*2]
shl eax, 1
mov dword [esp + 0x34], eax
add esi, eax
mov eax, ebx
and eax, 7
lea ecx, [ecx + eax*2]
mov eax, edx
shl ecx, 1
shr eax, cl
mov dword [esp + 0x28], ecx
and eax, 3
mov ecx, eax
mov eax, 2
sub eax, ecx
cmp eax, 1
jne 0x674f95
mov ecx, dword [esp + 0x30]
lea eax, [ebx*4 + 4]
and eax, 0x1c
mov ebx, edi
lea ecx, [eax + ecx*2]
shr edx, cl
and edx, 3
mov eax, edx
neg edx
lea ecx, [eax + eax + 4]
sub ebx, ecx
xor ecx, ecx
mov cx, word [ebx]
xor ebx, ebx
mov bx, word [edi + edx*2 + 0xc]
add ecx, ebx
xor ebx, ebx
mov bx, word [esi + 8]
sub ecx, ebx
xor ebx, ebx
mov bx, word [esi - 4]
sub ecx, ebx
xor ebx, ebx
mov bx, word [edi + 2]
sar ecx, 1
add ecx, ebx
cmp ecx, 0xffff
jge 0x674f42
xor ebx, ebx
test ecx, ecx
setl bl
dec ebx
and ecx, ebx
jmp 0x674f47
mov ecx, 0xffff
mov word [esi + edx*2 + 4], cx
mov ecx, dword [ebp + 8]
xor edx, edx
xor ebx, ebx
mov dx, word [ecx + 0x66b2]
shl edx, 2
lea ecx, [edx + eax]
mov bx, word [edi + ecx*2]
mov ecx, ebx
mov ebx, eax
sub ebx, edx
xor edx, edx
mov dx, word [edi + ebx*2]
add ecx, edx
xor edx, edx
mov dx, word [esi + 0x602]
sub ecx, edx
xor edx, edx
mov dx, word [esi - 0x5fe]
sub ecx, edx
sar ecx, 1
xor edx, edx
mov dx, word [edi + 2]
jmp 0x675018
mov ecx, dword [esp + 0xc]
xor ebx, ebx
lea edx, [ecx*4 + 4]
mov dword [esp + 0xc], edx
lea edx, [ecx*4]
lea ecx, [edx + eax]
mov bx, word [edi + ecx*2 - 8]
mov ecx, ebx
mov ebx, eax
sub ebx, edx
xor edx, edx
mov dx, word [edi + ebx*2 + 8]
xor ebx, ebx
add ecx, edx
mov edx, dword [esp + 0xc]
add edx, eax
mov bx, word [edi + edx*2]
mov edx, eax
add ecx, ebx
mov ebx, dword [esp + 0xc]
sub edx, ebx
xor ebx, ebx
mov bx, word [edi + edx*2]
xor edx, edx
mov dx, word [esi + 0x608]
add ecx, ebx
sub ecx, edx
xor edx, edx
mov dx, word [esi - 0x604]
sub ecx, edx
xor edx, edx
mov dx, word [esi + 0x5fc]
sub ecx, edx
xor edx, edx
mov dx, word [esi - 0x5f8]
sub ecx, edx
inc ecx
sar ecx, 2
xor edx, edx
mov dx, word [esi + 2]
add ecx, edx
cmp ecx, 0xffff
jge 0x67502e
xor edx, edx
test ecx, ecx
setl dl
dec edx
and ecx, edx
jmp 0x675033
mov ecx, 0xffff
mov edx, dword [ebp + 8]
mov word [esi + eax*2], cx
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x65ac]
shr eax, cl
fld dword [0x73150c]
fld dword [0x73150c]
fld dword [0x73150c]
and eax, 3
mov cx, word [edi + eax*2]
mov word [esi + eax*2], cx
mov ecx, dword [edx + 0x66cc]
test ecx, ecx
jle 0x67509d
lea eax, [esp + 0xa4]
xor edx, edx
add eax, 4
mov dx, word [esi]
add esi, 2
mov dword [esp + 0x2c], edx
dec ecx
fild dword [esp + 0x2c]
fld st(0)
fmul dword [eax - 0x14]
faddp st(2)
fld st(0)
fmul dword [eax - 4]
faddp st(3)
fmul dword [eax + 0xc]
faddp st(3)
jne 0x675074
call fcn.0045077c
cmp eax, 0xffff
jge 0x6750b8
test eax, eax
jge 0x6750b1
xor eax, eax
jmp 0x6750bd
cmp eax, 0xffff
jl 0x6750bd
mov eax, 0xffff
fld dword [esp + eax*4 + 0xc4]
fstp dword [esp + 0x40]
call fcn.0045077c
cmp eax, 0xffff
jge 0x6750e3
test eax, eax
jge 0x6750dc
xor eax, eax
jmp 0x6750e8
cmp eax, 0xffff
jl 0x6750e8
mov eax, 0xffff
fld dword [esp + eax*4 + 0xc4]
fstp dword [esp + 0x44]
call fcn.0045077c
cmp eax, 0xffff
jge 0x67510e
test eax, eax
jge 0x675107
xor eax, eax
jmp 0x675113
cmp eax, 0xffff
jl 0x675113
mov eax, 0xffff
fld dword [esp + eax*4 + 0xc4]
fld dword [esp + 0x44]
fmul dword [0x73f9f4]
fsub dword [0x731508]
fmul dword [0x73f9f0]
call fcn.0045077c
fld dword [esp + 0x40]
fsub dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
fmul dword [0x73f9ec]
mov word [edi + esi + 0xc0000], ax
call fcn.0045077c
fld dword [esp + 0x44]
fsub st(1)
mov word [edi + esi + 0xc0002], ax
fmul dword [0x73f9e8]
call fcn.0045077c
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov word [edi + esi + 0xc0004], ax
mov eax, dword [esp + 0x20]
inc ecx
add eax, 0xff
cmp ecx, eax
mov dword [esp + 0x18], ecx
fstp st(0)
jl 0x674e5d
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
inc ebx
lea eax, [ecx + 0xff]
mov dword [esp + 0x14], ebx
cmp ebx, eax
jl 0x674e31
mov ecx, dword [esp + 0x10]
add ecx, 0x100
cmp ecx, 0x200
mov dword [esp + 0x10], ecx
jl 0x674e1e
mov edx, dword [esp + 0x24]
mov ecx, 0x8000
xor eax, eax
lea edi, [edx + 0x180000]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
lea edx, [eax + 2]
add eax, 0xfe
cmp edx, eax
mov dword [esp + 0x14], edx
jge 0x675406
mov eax, dword [esp + 0x1c]
mov ecx, edx
shl ecx, 8
shl eax, 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
jmp 0x675212
mov eax, dword [esp + 0x34]
xor edi, edi
mov di, word [esi + 0x66b0]
sub edi, 4
cmp edx, edi
jge 0x675406
mov edx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x2c], ecx
lea eax, [edx + 2]
add edx, 0xfe
cmp eax, edx
mov dword [esp + 0x18], eax
jge 0x6753db
jmp 0x67524b
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
xor edx, edx
mov dx, word [esi + 0x66b2]
sub edx, 4
cmp eax, edx
jge 0x6753db
mov edx, dword [esp + 0x20]
sub eax, edx
xor edx, edx
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*2 + 0xc0000]
mov dword [esp + 0x10], ecx
movsx eax, word [ecx + 4]
movsx ebx, word [ecx]
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], ebx
movsx eax, word [ecx + 2]
mov dword [esp + 0x38], eax
mov esi, 0x73cf84
jmp 0x6752a4
mov ebx, dword [esp + 0x30]
mov eax, dword [esi]
add esi, 4
add edx, 4
lea eax, [eax + eax*2]
movsx edi, word [ecx + eax*2]
lea ecx, [ecx + eax*2]
mov eax, ebx
sub eax, edi
sub ebx, edi
movsx edi, word [ecx + 4]
sar eax, 0x1f
xor ebx, eax
sub ebx, eax
mov eax, dword [esp + 0xc]
sub eax, edi
mov dword [esp + edx + 0x70], ebx
movsx edi, word [ecx + 2]
mov ecx, dword [esp + 0x38]
sub ecx, edi
mov edi, ecx
imul edi, ecx
mov ecx, eax
imul ecx, eax
add edi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + edx + 0x50], edi
cmp esi, 0x73cf94
jl 0x6752a0
add ecx, 0x60000
cmp edx, 0x20
mov dword [esp + 0x10], ecx
jl 0x675282
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
cmp edi, ebx
mov esi, edi
ja 0x67531a
mov esi, ebx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
cmp ecx, edx
mov eax, ecx
ja 0x675330
mov eax, edx
cmp esi, eax
jae 0x675344
cmp edi, ebx
jbe 0x67533e
mov dword [esp + 0xc], edi
jmp 0x675350
mov dword [esp + 0xc], ebx
jmp 0x675350
cmp ecx, edx
mov dword [esp + 0xc], ecx
ja 0x675350
mov dword [esp + 0xc], edx
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
cmp edi, ebx
mov esi, edi
ja 0x675360
mov esi, ebx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
cmp ecx, edx
mov eax, ecx
ja 0x675370
mov eax, edx
cmp esi, eax
jae 0x675380
cmp edi, ebx
jbe 0x67537c
mov edx, edi
jmp 0x675386
mov edx, ebx
jmp 0x675386
cmp ecx, edx
jbe 0x675386
mov edx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0xc]
add ecx, 0x180000
xor eax, eax
add esi, ecx
mov ecx, 4
cmp dword [esp + eax + 0x74], edi
ja 0x6753af
cmp dword [esp + eax + 0x54], edx
ja 0x6753af
inc byte [esi]
add eax, 4
dec ecx
jne 0x6753a1
add esi, 0x10000
cmp eax, 0x20
jl 0x67539c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc eax
lea ecx, [edx + 0xfe]
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x675247
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
inc edx
add eax, 0xfe
add ecx, 0x100
cmp edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ecx
jl 0x67520e
mov edx, dword [esp + 0x1c]
lea edi, [edx + 3]
lea eax, [edx + 0xfd]
cmp edi, eax
mov dword [esp + 0x14], edi
jge 0x6755fe
mov ecx, dword [esp + 0x20]
mov ebx, edi
shl ebx, 8
shl edx, 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edx
jmp 0x67543d
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov ax, word [esi + 0x66b0]
sub eax, 5
cmp edi, eax
jge 0x675602
mov eax, dword [esp + 0x1c]
sub edi, eax
mov eax, ebx
sub eax, edx
lea edx, [ecx + 3]
mov dword [esp + 0x34], eax
lea eax, [ecx + 0xfd]
cmp edx, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edx
jge 0x6755d4
jmp 0x67547e
mov edi, dword [esp + 0xc]
xor eax, eax
mov ax, word [esi + 0x66b2]
sub eax, 5
cmp edx, eax
jge 0x6755d4
sub edx, ecx
lea eax, [edi + 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x4c]
lea ebx, [edi - 1]
mov dword [ecx], 0
cmp ebx, eax
jg 0x6754f4
lea edi, [edx + 1]
lea eax, [edx - 1]
cmp eax, edi
jg 0x6754e6
mov edx, dword [esp + 0x10]
lea esi, [edx + ebx]
mov edx, dword [esp + 0x24]
shl esi, 8
add edx, 0x180000
add edx, esi
movsx esi, byte [edx + eax]
add dword [ecx], esi
inc eax
cmp eax, edi
jle 0x6754d4
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
inc ebx
inc eax
cmp ebx, eax
jle 0x6754b7
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add ecx, 4
add ebx, 0x100
cmp ebx, 0x200
mov dword [esp + 0x10], ebx
jl 0x6754a7
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp edi, ecx
je 0x67556b
xor eax, eax
xor ebx, ebx
cmp ecx, edi
mov ecx, dword [esp + 0xc]
setg bl
shl ebx, 8
add ebx, ecx
shl ebx, 8
add ebx, edx
mov edx, dword [esp + 0x24]
mov ecx, ebx
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*2]
xor edx, edx
mov edi, dword [esp + 0x18]
mov dx, word [esi + 0x66b2]
mov bx, word [ecx]
imul edx, dword [esp + 0x14]
add edx, edi
mov edi, dword [esi + 0x66e0]
add ecx, 2
lea edx, [eax + edx*4]
inc eax
cmp eax, 3
mov word [edi + edx*2], bx
jl 0x67553c
jmp 0x6755b9
mov ecx, dword [esp + 0x34]
xor eax, eax
add edx, ecx
mov ecx, dword [esp + 0x24]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
xor edx, edx
xor edi, edi
mov dx, word [ecx + 0x60000]
mov di, word [ecx]
add edx, edi
xor edi, edi
mov di, word [esi + 0x66b2]
mov ebx, dword [esp + 0x18]
imul edi, dword [esp + 0x14]
add edi, ebx
mov ebx, dword [esi + 0x66e0]
sar edx, 1
lea edi, [eax + edi*4]
inc eax
add ecx, 2
cmp eax, 3
mov word [ebx + edi*2], dx
jl 0x67557d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
inc edx
lea eax, [ecx + 0xfd]
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x67547a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
inc edx
add eax, 0xfd
add ebx, 0x100
cmp edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebx
jl 0x675435
jmp 0x675602
mov ecx, dword [esp + 0x20]
xor edx, edx
add ecx, 0xfa
mov dx, word [esi + 0x66b2]
mov dword [esp + 0x20], ecx
sub edx, 5
cmp ecx, edx
jl 0x674be7
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov cx, word [esi + 0x66b0]
add eax, 0xfa
sub ecx, 5
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x674bca
mov edi, dword [esp + 0x24]
push edi
call fcn.004508e8
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret