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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, 2
mov dword [esp + 0x38], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
lea ecx, [eax - 1]
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp ecx, eax
push edi
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x50], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x48], ecx
jl 0x68ccdc
add ecx, 2
shl ecx, 4
mov dword [esp + 0x3c], ecx
jmp 0x68c6fe
mov ecx, dword [esp + 0x3c]
xor esi, esi
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x88]
mov edi, dword [eax + ecx - 0x14]
lea edx, [eax + ecx - 0x20]
cmp edi, esi
mov dword [esp + 0x4c], edx
jl 0x68cc32
mov eax, dword [esp + 0x34]
mov esi, edi
sar esi, 0x15
and edi, 0x1fffff
cmp esi, eax
je 0x68c781
test eax, eax
jl 0x68c73b
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x14]
lea ecx, [esp + 0x90]
push esi
lea edx, [esp + 0x9c]
push ecx
mov eax, dword [ebx]
push edx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x94]
push ecx
push edx
lea ecx, [esp + 0x4c]
lea edx, [esp + 0xa0]
push ecx
push edx
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0xc]
mov dword [esp + 0x34], esi
imul edi, dword [esp + 0x94]
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x78]
add edi, eax
mov dword [esp + 0xc], 3
lea esi, [edi + 8]
lea edx, [edi + 4]
cmp dword [esp + 0x90], 3
jne 0x68c7b5
xor eax, eax
mov ax, word [edx]
jmp 0x68c7b7
mov eax, dword [esi]
mov edi, dword [esp + 0x8c]
test edi, edi
jne 0x68c826
imul eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov dword [esp + 0xbc], 0
add eax, edi
fld dword [eax]
fmul dword [ebx + 4]
fstp dword [esp + 0xb0]
fld dword [eax + 4]
fmul dword [ebx + 8]
mov edi, dword [esp + 0xb0]
fstp dword [esp + 0xb4]
fld dword [eax + 8]
fmul dword [ebx + 0xc]
mov eax, ecx
mov dword [eax], edi
mov edi, dword [esp + 0xb4]
fstp dword [esp + 0xb8]
mov dword [eax + 4], edi
mov edi, dword [esp + 0xb8]
mov dword [eax + 8], edi
mov edi, dword [esp + 0xbc]
jmp 0x68c888
imul eax, dword [esp + 0x38]
fld dword [ebx + 4]
mov edi, dword [esp + 0x50]
mov dword [esp + 0xa8], 0
add eax, edi
fmul qword [eax]
fstp dword [esp + 0x9c]
fld dword [ebx + 8]
fmul qword [eax + 8]
mov edi, dword [esp + 0x9c]
fstp dword [esp + 0xa0]
fld dword [ebx + 0xc]
fmul qword [eax + 0x10]
mov eax, ecx
mov dword [eax], edi
mov edi, dword [esp + 0xa0]
fstp dword [esp + 0xa4]
mov dword [eax + 4], edi
mov edi, dword [esp + 0xa4]
mov dword [eax + 8], edi
mov edi, dword [esp + 0xa8]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0xc]
sub edx, 2
sub esi, 4
sub ecx, 0x10
dec eax
mov dword [esp + 0xc], eax
jne 0x68c7a4
fld dword [str.k_v_]
fld dword [esp + 0x58]
fcomp dword [str.k_v_]
mov dword [esp + 0x24], 0x5d5e0b6b
mov dword [esp + 0x28], 0x5d5e0b6b
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], 0xdd5e0b6b
mov dword [esp + 0x14], 0xdd5e0b6b
mov dword [esp + 0x18], 0xdd5e0b6b
fnstsw ax
mov dword [esp + 0x1c], 0
test ah, 1
je 0x68c8fa
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
fld dword [esp + 0x5c]
fcomp dword [str.k_v_]
fnstsw ax
test ah, 1
je 0x68c913
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
fld dword [esp + 0x60]
fcomp dword [str.k_v_]
fnstsw ax
test ah, 1
je 0x68c92a
fstp st(0)
fld dword [esp + 0x60]
fld dword [esp + 0x64]
fcomp dword [0x6abb10]
fnstsw ax
test ah, 1
je 0x68c943
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], eax
fld dword [0x6abf10]
fcomp dword [esp + 0x58]
fnstsw ax
test ah, 1
je 0x68c95c
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
fld dword [0x6abf10]
fcomp dword [esp + 0x5c]
fnstsw ax
test ah, 1
je 0x68c975
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], edx
fld dword [0x6abf10]
fcomp dword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x68c98e
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
fld dword [0x6abb10]
fcomp dword [esp + 0x64]
fnstsw ax
test ah, 1
je 0x68c9a7
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x68]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x68c9be
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], edx
fld dword [esp + 0x6c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x68c9d5
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
fld dword [esp + 0x70]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x68c9e8
fstp st(0)
fld dword [esp + 0x70]
fld dword [esp + 0x74]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x68c9ff
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
fld dword [esp + 0x10]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 1
je 0x68ca16
mov edx, dword [esp + 0x68]
mov dword [esp + 0x10], edx
fld dword [esp + 0x14]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 1
je 0x68ca2d
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 1
je 0x68ca44
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x1c]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 1
je 0x68ca5b
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], edx
fld dword [esp + 0x78]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x68ca72
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
fld dword [esp + 0x7c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x68ca89
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x80]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x68caa2
fstp st(0)
fld dword [esp + 0x80]
fld dword [esp + 0x10]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x68cab9
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
fld dword [esp + 0x14]
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 1
je 0x68cad0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
fld dword [esp + 0x18]
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 1
je 0x68caed
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x44]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x24]
fsub dword [eax + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x2c]
fsub dword [eax + 8]
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fsub dword [eax + 4]
lea eax, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0xfc]
fstp dword [esp + 0x2c]
call fcn.0053e5d0
mov edi, dword [esp + 0x44]
lea edx, [esp + 0xf0]
lea eax, [edi + 0x24]
mov dword [esp + 0x54], eax
push eax
lea eax, [esp + 0xd4]
push edx
push eax
call fcn.0053e650
fld dword [esp + 0xdc]
add esp, 0xc
call fcn.00681ef4
mov esi, dword [esp + 0x4c]
and eax, 0xfffe
fld dword [esp + 0xd4]
mov word [esi], ax
call fcn.00681ef4
fld dword [esp + 0xd8]
and eax, 0xfffe
mov word [esi + 2], ax
call fcn.00681ef4
fld dword [esp + 0x18]
and eax, 0xfffe
lea ecx, [esp + 0x20]
mov word [esi + 4], ax
lea edx, [esp + 0x40]
fsub dword [edi + 0xc]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0xec]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fsub dword [edi + 8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x1c]
fsub dword [edi + 4]
fstp dword [esp + 0x18]
call fcn.0053e5d0
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0xe0]
push ecx
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.0053e650
fld dword [esp + 0xcc]
fadd dword [0x6a7764]
add esp, 0xc
call fcn.00681ef4
fld dword [esp + 0xc4]
fadd dword [0x6a7764]
or al, 1
mov word [esi + 6], ax
call fcn.00681ef4
fld dword [esp + 0xc8]
fadd dword [0x6a7764]
or al, 1
mov word [esi + 8], ax
call fcn.00681ef4
or al, 1
mov word [esi + 0xa], ax
jmp 0x68ccad
mov edi, dword [eax + ecx - 4]
lea esi, [eax + ecx - 0x10]
test edi, edi
jge 0x68cc48
mov ecx, dword [esp + 0x48]
sub ecx, edi
inc ecx
shl ecx, 4
add ecx, eax
mov edi, esi
sub edi, ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x4c]
lea eax, [ecx + 6]
sub edi, ecx
sub esi, dword [esp + 0x4c]
mov dword [esp + 0x54], esi
jmp 0x68cc71
mov esi, dword [esp + 0x54]
mov cx, word [esi + edx]
mov word [edx], cx
mov si, word [eax - 6]
cmp cx, si
jbe 0x68cc84
mov word [edx], si
mov ecx, dword [esp + 0x20]
mov cx, word [ecx + eax]
mov word [edi + eax], cx
mov si, word [eax]
cmp cx, si
jae 0x68cc9c
mov word [edi + eax], si
mov ecx, dword [esp + 0xc]
add edx, 2
add eax, 2
dec ecx
mov dword [esp + 0xc], ecx
jne 0x68cc6d
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0xc]
dec eax
sub edx, 0x10
cmp eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], edx
jge 0x68c6f8
mov eax, dword [esp + 0x34]
test eax, eax
jl 0x68ccdc
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10