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

Disassembly:
mov eax, dword [0x101eab30]
mov ecx, dword [eax + 0x1994]
sub esp, 0x64
mov byte [ecx + 0x7c], 1
push esi
mov esi, dword [eax + 0x1994]
cmp byte [esi + 0x7f], 0
je 0x1006c286
xor al, al
pop esi
add esp, 0x64
ret
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov ebx, ebp
shr ebx, 1
and bl, 1
push edi
mov edi, dword [0x101eab30]
mov byte [esp + 0x16], bl
jne 0x1006c2be
test ebp, 0x400
jne 0x1006c2be
fld dword [edi + 0x1544]
lea eax, [esp + 0x24]
fstp dword [esp + 0x24]
fldz
fstp dword [esp + 0x28]
jmp 0x1006c2c4
lea eax, [edi + 0x1544]
cmp dword [esp + 0x84], 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jne 0x1006c2f4
mov ecx, dword [esp + 0x80]
push 0
push ecx
call fcn.10040330
add esp, 8
mov dword [esp + 0x84], eax
fld dword [0x101a3f3c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push ecx
fstp dword [esp]
push 0
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.10041050
fld dword [esi + 0xf0]
fstp dword [esp + 0x34]
add esp, 0x14
fld dword [esp + 0x38]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1006c340
fstp st(0)
fst dword [esp + 0x18]
jmp 0x1006c344
fstp dword [esp + 0x18]
fld dword [esi + 0xec]
fstp dword [esp + 0x20]
fld dword [edi + 0x1548]
fld qword [0x101a6108]
fmul st(1), st(0)
fld dword [edi + 0x18b4]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x1006c37f
fstp st(0)
jmp 0x1006c381
fstp st(1)
fstp dword [esp + 0x1c]
fmulp st(1)
fadd dword [esp + 0x40]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x1006c3a4
fstp st(0)
jmp 0x1006c3a6
fstp st(1)
lea edx, [esp + 0x44]
fstp dword [esp + 0x1c]
push edx
call fcn.1004cf90
fld dword [esi + 0xc]
fadd dword [eax]
mov eax, dword [esi + 0xc8]
add esp, 4
test bl, bl
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [esi + 0xcc]
mov dword [esp + 0x54], eax
fld dword [esp + 0x1c]
mov ecx, dword [esi + 0xcc]
fld st(0)
mov dword [esp + 0x58], ecx
faddp st(2)
mov dword [esp + 0x5c], edx
fxch st(1)
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fld qword [0x101a5230]
mov dword [esp + 0x60], eax
je 0x1006c44e
fld dword [esp + 0x54]
fld dword [esi + 0x3c]
fmul st(2)
call fcn.10119fe0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fld1
fsub st(1), st(0)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 0x54]
fld dword [esi + 0x3c]
fmulp st(2)
fxch st(1)
call fcn.10119fe0
mov dword [esp + 0x20], eax
fisubr dword [esp + 0x20]
fadd dword [esp + 0x24]
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fld qword [0x101a5228]
fmul st(1)
jmp 0x1006c458
fstp st(0)
fld dword [esp + 0x34]
fld st(0)
fadd st(1)
fadd dword [edi + 0x18b4]
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x3c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1006c47b
fxch st(1)
fadd st(0), st(0)
faddp st(1)
jmp 0x1006c481
fstp st(1)
fstp st(0)
fldz
fadd dword [edi + 0x18b4]
push ecx
lea ecx, [esp + 0x28]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 0x28]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fstp dword [esp]
push ecx
call fcn.100466d0
add esp, 8
test bl, bl
je 0x1006c4b6
lea eax, [esp + 0x54]
jmp 0x1006c4e4
fld dword [esp + 0x54]
lea eax, [esp + 0x44]
fst dword [esp + 0x44]
fld dword [esp + 0x58]
fstp dword [esp + 0x48]
fadd dword [esp + 0x20]
fld dword [edi + 0x1554]
fadd st(0), st(0)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x60]
fstp dword [esp + 0x50]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x78]
push ebp
push ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
call fcn.1005a080
mov ebx, ebp
shr ebx, 8
and bl, 1
add esp, 8
test al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x17], bl
je 0x1006c54c
cmp byte [edi + 0x1afc], 0
jne 0x1006c54c
mov eax, dword [esp + 0x7c]
test eax, 0x2000
je 0x1006c54c
test al, 8
jne 0x1006c54c
mov ecx, dword [esi + 0x104]
mov edx, 1
shl edx, cl
or dword [esi + 0x108], edx
mov ebp, dword [esp + 0x78]
push 0
lea eax, [esp + 0x68]
push ebp
push eax
call fcn.1004c0c0
or dword [esi + 0x110], 2
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x124], ecx
mov edx, dword [esp + 0x64]
mov dword [esi + 0x128], edx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x12c], ecx
mov edx, dword [esp + 0x6c]
add esp, 0xc
test al, al
mov dword [esi + 0x130], edx
je 0x1006c9d2
mov ecx, dword [esp + 0x7c]
mov eax, ecx
and eax, 4
mov dword [esp + 0x24], eax
or eax, 0x40
shl eax, 4
test bl, bl
jne 0x1006c5b3
or eax, 0x1000
mov edx, ecx
and edx, 0x40
mov dword [esp + 0x20], edx
je 0x1006c5cf
and ecx, 0x80
or ecx, 0x400
shr ecx, 6
or eax, ecx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1d]
push ecx
lea edx, [esp + 0x70]
push ebp
push edx
call fcn.100583b0
add esp, 0x14
test bl, bl
jne 0x1006c6d9
test al, al
je 0x1006c669
mov al, byte [esp + 0x7c]
test al, 0xc0
je 0x1006c604
cmp dword [edi + 0x1aa8], ebp
jne 0x1006c606
mov bl, 1
test al, al
jns 0x1006c64a
fld dword [esp + 0x64]
push 1
fadd dword [esp + 0x20]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x6c]
fstp dword [esp + 0x4c]
push ecx
fld dword [esp + 0x7c]
fstp dword [esp + 0x54]
call fcn.10041130
add esp, 0xc
test al, al
je 0x1006c646
cmp byte [edi + 0x1aff], 0
jne 0x1006c646
mov eax, 1
jmp 0x1006c648
xor eax, eax
or bl, al
cmp dword [esp + 0x20], 0
je 0x1006c657
or bl, byte [edi + 0x3e5]
cmp byte [edi + 0x1c54], 0
je 0x1006c669
cmp byte [esp + 0x13], 0
je 0x1006c669
xor bl, bl
cmp dword [edi + 0x1aa4], ebp
jne 0x1006c6b9
cmp byte [edi + 0x1b19], 0
je 0x1006c691
cmp dword [edi + 0x1b24], 0
jne 0x1006c691
cmp byte [esp + 0x13], 0
je 0x1006c691
mov bl, 1
call fcn.100492c0
cmp dword [edi + 0x1aa4], ebp
jne 0x1006c6b9
cmp byte [edi + 0x1b19], 0
je 0x1006c6b9
cmp dword [edi + 0x1b24], 1
jne 0x1006c6b9
cmp byte [esp + 0x13], 0
jne 0x1006c6b9
call fcn.100492c0
jmp 0x1006c6bd
test bl, bl
je 0x1006c6d9
cmp byte [esp + 0x13], 0
mov ecx, dword [esi + 0x15c]
sete al
movzx edx, al
push edx
push ebp
mov byte [esp + 0x1b], al
call fcn.1004b3d0
cmp dword [esp + 0x24], 0
je 0x1006c6e5
call fcn.10041900
cmp byte [esp + 0x14], 0
mov bl, byte [esp + 0x15]
je 0x1006c6fb
test bl, bl
je 0x1006c6fb
mov eax, 0x1a
jmp 0x1006c705
xor eax, eax
test bl, bl
setne al
add eax, 0x18
fld1
push ecx
fstp dword [esp]
push eax
call fcn.10040190
fld dword [esp + 0x24]
fld dword [esp + 0x5c]
add esp, 8
cmp byte [esp + 0x16], 0
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x58]
fld st(0)
fld dword [esp + 0x18]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x30]
je 0x1006c88c
mov edx, dword [esp + 0x58]
fstp st(1)
push ecx
fstp st(1)
mov ecx, dword [esp + 0x60]
fstp st(0)
fld dword [edi + 0x154c]
fstp dword [esp]
push 1
push eax
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
call fcn.10040360
push 2
lea ecx, [esp + 0x74]
push ebp
push ecx
call fcn.100407b0
fld dword [esp + 0x5c]
fadd dword [esp + 0x7c]
mov bl, byte [esp + 0x3b]
add esp, 0x24
xor edx, edx
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x5c]
test bl, bl
fadd dword [esp + 0x1c]
setne dl
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
fld1
fstp dword [esp]
lea edx, [edx + edx + 1]
push edx
push eax
push ecx
call fcn.10040550
add esp, 0x10
cmp byte [edi + 0x2c4c], 0
je 0x1006c84f
mov dx, word [0x101a8cd0]
mov al, byte [0x101a8cd2]
lea ecx, [esp + 0x23]
mov word [esp + 0x18], dx
push ecx
lea edx, [esp + 0x24]
mov byte [esp + 0x1e], al
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], 0x23230a
call fcn.1004e770
fldz
mov eax, dword [esp + 0x90]
fst dword [esp + 0x50]
push 0
fstp dword [esp + 0x58]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.1004f6c0
lea ecx, [esp + 0x43]
push ecx
lea edx, [esp + 0x45]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1004e770
add esp, 0x34
jmp 0x1006c9d6
mov eax, dword [esp + 0x84]
fldz
push 0
fst dword [esp + 0x48]
lea ecx, [esp + 0x48]
fstp dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x44]
push edx
push eax
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.1004f6c0
add esp, 0x1c
jmp 0x1006c9d6
test bl, bl
jne 0x1006c897
test byte [esp + 0x7c], 1
je 0x1006c8e2
mov edx, dword [esp + 0x5c]
fstp st(1)
push ecx
fstp st(1)
mov ecx, dword [esp + 0x64]
fstp st(0)
fldz
fstp dword [esp]
push 0
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
call fcn.10040360
push 2
lea edx, [esp + 0x74]
push ebp
push edx
call fcn.100407b0
fld dword [esp + 0x80]
fld dword [esp + 0x40]
add esp, 0x28
fld dword [esp + 0x54]
fxch st(2)
fxch st(1)
test dword [esp + 0x7c], 0x200
je 0x1006c932
fld dword [esp + 0x1c]
fld qword [0x101a5230]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x34]
fmul dword [edi + 0x18b4]
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x34]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fadd dword [esp + 0x38]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
push eax
push ecx
call fcn.10040760
add esp, 8
jmp 0x1006c991
cmp byte [esp + 0x17], 0
jne 0x1006c98b
fld dword [edi + 0x18b4]
xor edx, edx
fmul qword [0x101a8cc8]
cmp byte [esp + 0x13], dl
push ecx
setne dl
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x38]
faddp st(2)
fxch st(1)
lea edx, [edx + edx + 1]
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
fld dword [str.333__]
fstp dword [esp]
push edx
push eax
push ecx
call fcn.10040550
add esp, 0x10
jmp 0x1006c991
fstp st(1)
fstp st(1)
fstp st(0)
cmp byte [edi + 0x2c4c], 0
je 0x1006c9ae
push 0
lea edx, [esp + 0x30]
push 0x101a8094
push edx
call fcn.1004e770
add esp, 0xc
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x30]
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.1004f580
add esp, 0x14
mov bl, byte [esp + 0x13]
test bl, bl
je 0x1006c9ea
test byte [esp + 0x7c], 8
jne 0x1006c9ea
push ebp
call fcn.10064590
add esp, 4
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
add esp, 0x64
ret