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

Disassembly:
mov eax, dword [0x101e9b30]
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 0x1006a866
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 [0x101e9b30]
mov byte [esp + 0x16], bl
jne 0x1006a89e
test ebp, 0x400
jne 0x1006a89e
fld dword [edi + 0x1544]
lea eax, [esp + 0x24]
fstp dword [esp + 0x24]
fldz
fstp dword [esp + 0x28]
jmp 0x1006a8a4
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 0x1006a8d4
mov ecx, dword [esp + 0x80]
push 0
push ecx
call fcn.1003e910
add esp, 8
mov dword [esp + 0x84], eax
fld dword [0x101a2f3c]
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.1003f630
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 0x1006a920
fstp st(0)
fst dword [esp + 0x18]
jmp 0x1006a924
fstp dword [esp + 0x18]
fld dword [esi + 0xec]
fstp dword [esp + 0x20]
fld dword [edi + 0x1548]
fld qword [0x101a4ff8]
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 0x1006a95f
fstp st(0)
jmp 0x1006a961
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 0x1006a984
fstp st(0)
jmp 0x1006a986
fstp st(1)
lea edx, [esp + 0x44]
fstp dword [esp + 0x1c]
push edx
call fcn.1004b570
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 [0x101a4158]
mov dword [esp + 0x60], eax
je 0x1006aa2e
fld dword [esp + 0x54]
fld dword [esi + 0x3c]
fmul st(2)
call fcn.101185e0
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.101185e0
mov dword [esp + 0x20], eax
fisubr dword [esp + 0x20]
fadd dword [esp + 0x24]
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fld qword [0x101a4150]
fmul st(1)
jmp 0x1006aa38
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 0x1006aa5b
fxch st(1)
fadd st(0), st(0)
faddp st(1)
jmp 0x1006aa61
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.10044cb0
add esp, 8
test bl, bl
je 0x1006aa96
lea eax, [esp + 0x54]
jmp 0x1006aac4
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.10058660
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 0x1006ab2c
cmp byte [edi + 0x1afc], 0
jne 0x1006ab2c
mov eax, dword [esp + 0x7c]
test eax, 0x2000
je 0x1006ab2c
test al, 8
jne 0x1006ab2c
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.1004a6a0
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 0x1006afb2
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 0x1006ab93
or eax, 0x1000
mov edx, ecx
and edx, 0x40
mov dword [esp + 0x20], edx
je 0x1006abaf
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.10056990
add esp, 0x14
test bl, bl
jne 0x1006acb9
test al, al
je 0x1006ac49
mov al, byte [esp + 0x7c]
test al, 0xc0
je 0x1006abe4
cmp dword [edi + 0x1aa8], ebp
jne 0x1006abe6
mov bl, 1
test al, al
jns 0x1006ac2a
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.1003f710
add esp, 0xc
test al, al
je 0x1006ac26
cmp byte [edi + 0x1aff], 0
jne 0x1006ac26
mov eax, 1
jmp 0x1006ac28
xor eax, eax
or bl, al
cmp dword [esp + 0x20], 0
je 0x1006ac37
or bl, byte [edi + 0x3e5]
cmp byte [edi + 0x1c54], 0
je 0x1006ac49
cmp byte [esp + 0x13], 0
je 0x1006ac49
xor bl, bl
cmp dword [edi + 0x1aa4], ebp
jne 0x1006ac99
cmp byte [edi + 0x1b19], 0
je 0x1006ac71
cmp dword [edi + 0x1b24], 0
jne 0x1006ac71
cmp byte [esp + 0x13], 0
je 0x1006ac71
mov bl, 1
call fcn.100478a0
cmp dword [edi + 0x1aa4], ebp
jne 0x1006ac99
cmp byte [edi + 0x1b19], 0
je 0x1006ac99
cmp dword [edi + 0x1b24], 1
jne 0x1006ac99
cmp byte [esp + 0x13], 0
jne 0x1006ac99
call fcn.100478a0
jmp 0x1006ac9d
test bl, bl
je 0x1006acb9
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.100499b0
cmp dword [esp + 0x24], 0
je 0x1006acc5
call fcn.1003fee0
cmp byte [esp + 0x14], 0
mov bl, byte [esp + 0x15]
je 0x1006acdb
test bl, bl
je 0x1006acdb
mov eax, 0x1a
jmp 0x1006ace5
xor eax, eax
test bl, bl
setne al
add eax, 0x18
fld1
push ecx
fstp dword [esp]
push eax
call fcn.1003e770
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 0x1006ae6c
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.1003e940
push 2
lea ecx, [esp + 0x74]
push ebp
push ecx
call fcn.1003ed90
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.1003eb30
add esp, 0x10
cmp byte [edi + 0x2c4c], 0
je 0x1006ae2f
mov dx, word [0x101a7bc0]
mov al, byte [0x101a7bc2]
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.1004cd50
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.1004dca0
lea ecx, [esp + 0x43]
push ecx
lea edx, [esp + 0x45]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1004cd50
add esp, 0x34
jmp 0x1006afb6
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.1004dca0
add esp, 0x1c
jmp 0x1006afb6
test bl, bl
jne 0x1006ae77
test byte [esp + 0x7c], 1
je 0x1006aec2
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.1003e940
push 2
lea edx, [esp + 0x74]
push ebp
push edx
call fcn.1003ed90
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 0x1006af12
fld dword [esp + 0x1c]
fld qword [0x101a4158]
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.1003ed40
add esp, 8
jmp 0x1006af71
cmp byte [esp + 0x17], 0
jne 0x1006af6b
fld dword [edi + 0x18b4]
xor edx, edx
fmul qword [0x101a7bb8]
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.1003eb30
add esp, 0x10
jmp 0x1006af71
fstp st(1)
fstp st(1)
fstp st(0)
cmp byte [edi + 0x2c4c], 0
je 0x1006af8e
push 0
lea edx, [esp + 0x30]
push 0x101a6f84
push edx
call fcn.1004cd50
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.1004db60
add esp, 0x14
mov bl, byte [esp + 0x13]
test bl, bl
je 0x1006afca
test byte [esp + 0x7c], 8
jne 0x1006afca
push ebp
call fcn.10062b70
add esp, 4
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
add esp, 0x64
ret