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

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb0]
xor ebx, ebx
push edi
mov ebp, dword [esi + 8]
mov dword [esp + 0x10], ebx
cmp ebp, ebx
je 0x67060f
xor edi, edi
mov eax, dword [ebp + edi*4]
push 4
push eax
call fcn.00671670
mov edx, dword [esp + 0x18]
add esp, 8
add edx, eax
inc edi
cmp edi, 0x10
mov dword [esp + 0x10], edx
jl 0x6705f0
mov ebp, dword [esp + 0xb0]
mov eax, dword [esp + 0x10]
cmp ebp, eax
jl 0x67065f
mov edi, dword [esp + 0xac]
mov ecx, dword [esi + 8]
push 5
push ebx
push edi
push ecx
call fcn.006716b0
add esp, 0x10
cmp eax, ebp
jge 0x670650
lea ecx, [edi + eax*4 + 2]
sub ebp, eax
mov byte [ecx - 2], bl
mov byte [ecx - 1], bl
mov byte [ecx], bl
mov byte [ecx + 1], bl
add ecx, 4
dec ebp
jne 0x67063f
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
mov edx, dword [esi]
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [edx], bl
mov eax, dword [esi]
mov byte [esp + 0x13], bl
mov byte [esp + 0x40], 0xff
mov byte [eax + 1], bl
mov ecx, dword [esi]
mov al, 0x20
mov dword [esp + 0x28], 0
mov byte [ecx + 2], bl
mov edx, dword [esi]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [edx + 3], bl
mov ecx, dword [esi]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [ecx + 4], al
mov edx, dword [esi]
mov dword [esp + 0x3c], 0
mov byte [edx + 5], al
mov ecx, dword [esi]
mov byte [ecx + 6], al
mov edx, dword [esi]
mov byte [edx + 7], al
mov ecx, dword [esi]
lea eax, [esp + 0x28]
lea edx, [esp + 0x10]
push eax
mov eax, dword [esi + 8]
push ecx
push 5
push edx
push eax
call fcn.00670e20
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
mov ecx, dword [esi + 4]
mov edi, 1
add esp, 0x14
cmp ebp, edi
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
mov dword [esp + 0x14], edi
faddp st(1)
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fdiv dword [esp + 0x28]
fsubr dword [esp + 0x3c]
fstp dword [ecx]
jle 0x670a54
jmp 0x670739
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0xb0]
fld dword [0x67e188]
xor ecx, ecx
cmp edi, ebx
mov dword [esp + 0x20], 0xffffffff
jle 0x670b26
mov edx, dword [esi + 4]
fcom dword [edx]
fnstsw ax
test ah, 5
jp 0x670765
fstp st(0)
fld dword [edx]
mov dword [esp + 0x20], ecx
inc ecx
add edx, 4
cmp ecx, edi
jl 0x670754
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
fstp st(0)
je 0x670a54
mov eax, dword [esi]
mov ebp, dword [esi + 8]
lea edx, [esp + 0x8c]
lea edi, [ecx*8]
push edx
mov dword [esp + 0x20], eax
add edi, eax
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
call fcn.00670c40
lea eax, [esp + 0x90]
lea ecx, [esp + 0x14]
push eax
push edi
push 5
push ecx
push ebp
call fcn.00670e20
lea edx, [esp + 0xa4]
lea eax, [esp + 0x5c]
push edx
push eax
push 1
push edi
push ebp
call fcn.00671010
fstp dword [esp + 0x88]
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x44]
push ecx
push edx
push 2
push edi
push ebp
call fcn.00671010
fstp dword [esp + 0x98]
add esp, 0x40
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x4c]
push eax
push ecx
push 3
push edi
push ebp
call fcn.00671010
fstp dword [esp + 0x38]
lea edx, [esp + 0xa0]
lea eax, [esp + 0x68]
push edx
push eax
push 4
push edi
push ebp
call fcn.00671010
fld dword [esp + 0x84]
fcomp dword [0x67e188]
add esp, 0x28
fnstsw ax
test ah, 0x41
jp 0x670878
fld dword [esp + 0x58]
fcomp dword [0x67e188]
fnstsw ax
test ah, 0x41
jp 0x670878
fld dword [esp + 0x24]
fcomp dword [0x67e188]
fnstsw ax
test ah, 0x41
jp 0x670878
fcom dword [0x67e188]
fnstsw ax
test ah, 0x41
jnp 0x670a25
fld dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
fcomp dword [esp + 0x58]
mov edx, dword [edi]
lea ebp, [eax*8]
mov dword [ecx + ebp], edx
mov edx, dword [edi + 4]
fnstsw ax
mov dword [ecx + ebp + 4], edx
and eax, 0x100
jne 0x6708d0
fld dword [esp + 0x5c]
fcomp dword [esp + 0x24]
fnstsw ax
and eax, 0x100
jne 0x6708fd
fld dword [esp + 0x5c]
fcompp
fnstsw ax
and eax, 0x100
jne 0x670919
mov al, byte [esp + 0x44]
mov byte [ecx + ebp], al
mov byte [edi + 4], al
jmp 0x670924
fld dword [esp + 0x58]
fcomp dword [esp + 0x24]
fnstsw ax
and eax, 0x100
jne 0x6708fd
fld dword [esp + 0x58]
fcompp
fnstsw ax
and eax, 0x100
jne 0x670919
mov al, byte [esp + 0x18]
mov byte [ecx + ebp + 1], al
mov byte [edi + 5], al
jmp 0x670924
fld dword [esp + 0x24]
fcompp
fnstsw ax
and eax, 0x100
jne 0x670919
mov al, byte [esp + 0x4c]
mov byte [ecx + ebp + 2], al
mov byte [edi + 6], al
jmp 0x670924
mov al, byte [esp + 0x54]
mov byte [ecx + ebp + 3], al
mov byte [edi + 7], al
mov eax, dword [esp + 0x20]
mov edi, dword [esi]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x28]
shl eax, 3
push edx
add edi, eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
call fcn.00670c40
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
push edi
lea ecx, [esp + 0x54]
push 5
push ecx
push edx
call fcn.00670e20
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x88]
mov byte [esp + 0x68], bl
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
push edx
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bl
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
faddp st(1)
fdiv dword [esp + 0x44]
fsubr dword [esp + 0x58]
fstp dword [eax + ecx*4]
mov edi, dword [esi]
add edi, ebp
mov ebp, dword [esi + 8]
call fcn.00670c40
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x6c]
push eax
push edi
push 5
push ecx
push ebp
call fcn.00670e20
fld dword [esp + 0xb0]
fmul dword [esp + 0xb0]
fld dword [esp + 0xac]
fmul dword [esp + 0xac]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x44]
add esp, 0x30
faddp st(1)
fld dword [esp + 0x78]
fmul dword [esp + 0x78]
faddp st(1)
fld dword [esp + 0x74]
fmul dword [esp + 0x74]
faddp st(1)
fdiv dword [esp + 0x70]
fsubr dword [esp + 0x84]
fstp dword [edx + eax*4]
jmp 0x670a3a
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
dec eax
fstp st(0)
mov dword [ecx + edx*4], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x67072e
mov ebp, ecx
xor edi, edi
cmp ebp, ebx
jle 0x670c2e
mov eax, dword [esp + 0xac]
add eax, 2
cmp edi, ebp
mov dword [esp + 0x4c], eax
jge 0x670c13
mov ecx, dword [esi]
mov eax, dword [esi + 8]
lea ebp, [edi*8]
push edi
add ecx, ebp
lea edx, [esp + 0x48]
push ecx
push 5
push edx
push eax
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], bl
call fcn.00670c60
mov edx, dword [esi]
lea ecx, [esp + 0x3c]
add edx, ebp
push ecx
mov ecx, dword [esi + 8]
push edx
lea eax, [esp + 0x38]
push 5
push eax
push ecx
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x68], 0xff
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.00670e20
fld dword [esp + 0x50]
fcomp dword [0x67e188]
add esp, 0x28
fnstsw ax
and eax, 0x4100
jne 0x670b2d
fld dword [0x67f8d0]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x10]
jmp 0x670b35
fstp st(0)
jmp 0x670a54
mov dword [esp + 0x10], 0
fld dword [esp + 0x2c]
fmul dword [esp + 0x10]
fstp dword [esp + 0x18]
fnstcw word [esp + 0x48]
fld dword [esp + 0x18]
mov ax, word [esp + 0x48]
or ah, 0xc
mov word [esp + 0x50], ax
fldcw word [esp + 0x50]
fistp dword [esp + 0x60]
fldcw word [esp + 0x48]
fld dword [esp + 0x30]
fmul dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov dl, byte [esp + 0x60]
mov byte [ecx - 2], dl
fstp dword [esp + 0x18]
fnstcw word [esp + 0x58]
fld dword [esp + 0x18]
mov ax, word [esp + 0x58]
or ah, 0xc
mov word [esp + 0x54], ax
fldcw word [esp + 0x54]
fistp dword [esp + 0x64]
fldcw word [esp + 0x58]
fld dword [esp + 0x34]
fmul dword [esp + 0x10]
mov al, byte [esp + 0x64]
mov byte [ecx - 1], al
fstp dword [esp + 0x18]
fnstcw word [esp + 0x20]
fld dword [esp + 0x18]
mov ax, word [esp + 0x20]
or ah, 0xc
mov word [esp + 0x5c], ax
fldcw word [esp + 0x5c]
fistp dword [esp + 0x68]
fldcw word [esp + 0x20]
fld dword [esp + 0x38]
fmul dword [esp + 0x10]
mov dl, byte [esp + 0x68]
mov byte [ecx], dl
fstp dword [esp + 0x18]
fnstcw word [esp + 0x14]
fld dword [esp + 0x18]
mov ax, word [esp + 0x14]
or ah, 0xc
mov word [esp + 0x24], ax
fldcw word [esp + 0x24]
fistp dword [esp + 0x6c]
fldcw word [esp + 0x14]
mov al, byte [esp + 0x6c]
mov ebp, dword [esp + 0xb0]
mov byte [ecx + 1], al
mov eax, ecx
jmp 0x670c1e
mov byte [eax - 2], bl
mov byte [eax - 1], bl
mov byte [eax], bl
mov byte [eax + 1], bl
inc edi
add eax, 4
cmp edi, ebp
mov dword [esp + 0x4c], eax
jl 0x670a74
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x98
ret