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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x384]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18c8]
add eax, 0x18c4
xor ebx, ebx
push edi
cmp ecx, ebx
je 0x69831e
cmp dword [eax + 0x10], ebx
jle 0x69831e
cmp byte [ecx + 0xc], bl
je 0x69831e
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x69831e
mov eax, dword [ecx + 0x14]
imul eax, dword [ecx + 0xc]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
imul eax, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fstp dword [esp + 0x38]
fld dword [esp + 0x34]
jmp 0x698328
fld dword [0xaa3aa8]
fst dword [esp + 0x38]
mov eax, dword [edx + 0x568]
fstp dword [esp + 0x3c]
movsx ecx, word [eax + 0x6c]
add eax, 0x6c
mov dword [esp + 0x1c], ecx
mov edi, dword [ebp + 8]
push edi
fild dword [esp + 0x20]
mov ecx, esi
fstp dword [esp + 0x34]
movsx edx, word [eax + 2]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [esp + 0x34]
fdiv dword [esp + 0x3c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x38]
fdiv dword [esp + 0x40]
fstp dword [esp + 0x30]
fld dword [esp + 0x2c]
fld qword [0xa92388]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fmul dword [esp + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fstp dword [esp + 0x38]
call fcn.00697fc0
mov ecx, dword [esi + 0x454]
lea eax, [esp + 0x30]
push eax
call fcn.0069a6e0
mov ecx, dword [esi + 0x454]
call fcn.00699810
add dword [esi + 0xd5c8], edi
cmp dword [esi + 0xd5c8], 0x3e8
jl 0x6983d5
mov dword [esi + 0xd5c8], ebx
cmp byte [esi + 0xd5cc], bl
je 0x698528
cmp dword [esi + 0xd3b4], ebx
jle 0x69847f
lea edi, [esi + 0xcab8]
movsx ecx, word [edi]
movsx edx, word [edi + 2]
mov dword [esp + 0x1c], ecx
mov eax, dword [edi - 4]
push 0xb4a0db
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x38]
fstp dword [esp + 0x30]
push ecx
fild dword [esp + 0x28]
mov ecx, dword [esi + 0x454]
push 0x16
fstp dword [esp + 0x3c]
fld dword [esp + 0x38]
fdiv dword [esp + 0x48]
fstp dword [esp + 0x30]
fld dword [esp + 0x3c]
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fld qword [0xa92388]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fmul dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
fstp dword [esp + 0x44]
call fcn.0069bc70
inc ebx
add edi, 0x48
cmp ebx, dword [esi + 0xd3b4]
jl 0x6983f3
xor ebx, ebx
cmp dword [esi + 0xc1ac], ebx
jle 0x69875e
lea edi, [esi + 0xb8b0]
movsx edx, word [edi]
movsx eax, word [edi + 2]
mov dword [esp + 0x1c], edx
mov ecx, dword [edi - 4]
push 0xb4a0db
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
push ecx
mov ecx, dword [esi + 0x454]
fstp dword [esp + 0x30]
lea edx, [esp + 0x38]
fild dword [esp + 0x24]
push edx
push 0x14
fstp dword [esp + 0x3c]
fld dword [esp + 0x38]
fdiv dword [esp + 0x48]
fstp dword [esp + 0x30]
fld dword [esp + 0x3c]
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fld qword [0xa92388]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fmul dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
fstp dword [esp + 0x44]
call fcn.0069bc70
inc ebx
add edi, 0x48
cmp ebx, dword [esi + 0xc1ac]
jl 0x698493
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, eax
imul ecx, ecx, 0x904
cmp dword [ecx + esi + 0xd5c], 0
lea ebx, [ecx + esi]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], ebx
jle 0x698750
lea edx, [esi + 0xd3c4]
mov dword [esp + 0x10], edx
add ebx, 0x460
lea edi, [esi + 0xafac]
lea esp, [esp]
cmp eax, 0x13
jne 0x698605
cmp dword [esi + 0xd5c8], 0x2ee
jge 0x69867f
mov eax, dword [esp + 0x10]
cmp byte [eax], 1
jne 0x69867f
movsx ecx, word [edi]
movsx edx, word [edi + 2]
mov dword [esp + 0x20], ecx
mov eax, dword [edi - 4]
push 0xb4a0db
fild dword [esp + 0x24]
mov dword [esp + 0x24], edx
push eax
lea ecx, [esp + 0x38]
fstp dword [esp + 0x48]
push ecx
fild dword [esp + 0x2c]
push 0x13
fstp dword [esp + 0x54]
fld dword [esp + 0x50]
fdiv dword [esp + 0x48]
fstp dword [esp + 0x58]
fld dword [esp + 0x54]
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x58]
fld qword [0xa92388]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x60]
fmul dword [esp + 0x5c]
fstp dword [esp + 0x64]
fld dword [esp + 0x60]
fstp dword [esp + 0x40]
fld dword [esp + 0x64]
jmp 0x698670
movsx edx, word [ebx]
movsx ecx, word [ebx + 2]
mov dword [esp + 0x20], edx
lea edx, [ebx + 4]
push edx
fild dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx - 4]
push ecx
fstp dword [esp + 0x60]
lea edx, [esp + 0x38]
fild dword [esp + 0x28]
push edx
push eax
fstp dword [esp + 0x6c]
fld dword [esp + 0x68]
fdiv dword [esp + 0x48]
fstp dword [esp + 0x70]
fld dword [esp + 0x6c]
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x74]
fld dword [esp + 0x70]
fld qword [0xa92388]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x78]
fmul dword [esp + 0x74]
fstp dword [esp + 0x7c]
fld dword [esp + 0x78]
fstp dword [esp + 0x40]
fld dword [esp + 0x7c]
mov ecx, dword [esi + 0x454]
fstp dword [esp + 0x44]
call fcn.0069bc70
mov eax, dword [esi + 8]
cmp byte [eax + 0xfd95], 0
je 0x698728
movsx ecx, word [esi + 0xd3b8]
movsx edx, word [esi + 0xd3ba]
mov dword [esp + 0x20], ecx
sub esp, 8
mov eax, esp
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fstp dword [esp + 0x78]
fild dword [esp + 0x28]
fstp dword [esp + 0x7c]
fld dword [esp + 0x78]
fdiv dword [esp + 0x40]
fstp dword [esp + 0x80]
fld dword [esp + 0x7c]
fdiv dword [esp + 0x44]
fstp dword [esp + 0x84]
fld dword [esp + 0x80]
fld qword [0xa92388]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x88]
fmul dword [esp + 0x84]
fstp dword [esp + 0x8c]
fld dword [esp + 0x88]
fst dword [esp + 0x38]
fld dword [esp + 0x8c]
fstp dword [esp + 0x3c]
fstp dword [eax]
fld dword [esp + 0x3c]
fstp dword [eax + 4]
mov ecx, dword [esi + 0x454]
call fcn.0069b620
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x10], 0x10
inc eax
add edi, 0x48
add ebx, 0x48
cmp eax, dword [ecx + 0xd5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
jl 0x698570
inc eax
cmp eax, 0x17
mov dword [esp + 0x14], eax
jl 0x69852e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4