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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esi + 0x148]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x2d4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xcc]
mov ebp, 0x800000
xor ebx, ebx
test ebp, eax
push edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], ecx
je 0x10ba3cf1
mov eax, dword [esi + 0x6e4]
xor edi, edi
cmp eax, ebx
jle 0x10ba3cf1
mov edi, edi
mov edx, dword [esi + 0x6e0]
mov ecx, dword [edx + edi*4]
mov al, byte [ecx + 0x3b]
test al, al
je 0x10ba3ce6
push ebx
call fcn.10a40030
mov eax, dword [esi + 0x6e4]
inc edi
cmp edi, eax
jl 0x10ba3cd0
test dword [esi + 0x2d4], ebp
je 0x10ba4223
jmp 0x10ba3d01
xor ebx, ebx
fld dword [esp + 0xd0]
fcomp dword [0x10e4500c]
fnstsw ax
test ah, 0x41
jne 0x10ba4223
fld dword [esp + 0xd0]
fmul dword [esi + 0x688]
fadd dword [esi + 0x684]
fst dword [esp + 0x10]
fcomp dword [0x10e45008]
fnstsw ax
test ah, 0x41
jne 0x10ba3d6b
fld dword [esp + 0x10]
fsub dword [0x10e45008]
fld dword [esp + 0x10]
mov dword [esp + 0x10], 0x3f800000
fsub dword [esi + 0x684]
fdivp st(1)
fmul dword [esp + 0xd0]
fstp dword [esp + 0xd0]
jmp 0x10ba3d76
mov dword [esp + 0xd0], 0
mov al, byte [esi + 0x381]
fld dword [esp + 0x10]
cmp al, 1
jne 0x10ba3d9a
fmul dword [esp + 0x10]
fld dword [0x10e6eab8]
fmul st(1)
fxch st(1)
fmul dword [esp + 0x10]
fadd st(0), st(0)
fsubp st(1)
test byte [esi + 0x39c], 0x40
movzx edi, byte [esi + 0x383]
jne 0x10ba3e37
mov ebx, dword [esi + 0x664]
mov ebp, dword [esi + 0x660]
lea eax, [edi + edi*2 + 0x144]
mov ecx, dword [esi + eax*4 + 4]
lea edx, [esi + eax*4]
mov eax, dword [edx]
mov edx, dword [edx + 8]
add ecx, ebx
mov ebx, dword [esi + 0x66c]
add eax, ebp
mov ebp, dword [esi + 0x668]
sub eax, ebx
mov ebx, dword [esi + 0x674]
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
add edx, ebp
mov ebp, dword [esi + 0x670]
sub ecx, ebp
fmul st(1)
sub edx, ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
call fcn.10ddea68
fild dword [esp + 0x58]
mov ebp, eax
fmul st(1)
call fcn.10ddea68
fild dword [esp + 0x5c]
mov ebx, eax
fmul st(1)
call fcn.10ddea68
mov ecx, dword [esi + 0x66c]
mov edx, dword [esi + 0x670]
add ecx, ebp
add edx, ebx
jmp 0x10ba3f4c
fld dword [0x10e45008]
lea ecx, [edi + edi*2 + 0x144]
fld dword [esp + 0x10]
lea edx, [esi + ecx*4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x10ba3e65
mov ebx, dword [edx]
mov eax, dword [edx + 4]
mov ebp, dword [edx + 8]
mov dword [esp + 0x70], eax
jmp 0x10ba3f5a
mov word [esi + 0x662], bx
mov word [esi + 0x666], bx
mov word [esi + 0x66a], bx
mov eax, dword [edx]
mov ecx, dword [esi + 0x660]
mov ebp, dword [esi + 0x664]
add eax, ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
add ecx, ebp
add edx, dword [esi + 0x668]
sub eax, dword [esi + 0x66c]
sub ecx, dword [esi + 0x670]
sub edx, dword [esi + 0x674]
cmp eax, 0x8000
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jle 0x10ba3ec6
sub eax, 0xffff
mov dword [esp + 0x14], eax
cmp eax, ebx
jge 0x10ba3ecc
neg eax
cmp eax, 0xa
jge 0x10ba3ed5
mov dword [esp + 0x14], ebx
cmp ecx, 0x8000
jle 0x10ba3ee7
sub ecx, 0xffff
mov dword [esp + 0x18], ecx
cmp ecx, ebx
jge 0x10ba3eed
neg ecx
cmp ecx, 0xa
jge 0x10ba3ef6
mov dword [esp + 0x18], ebx
cmp edx, 0x8000
jle 0x10ba3f08
sub edx, 0xffff
mov dword [esp + 0x1c], edx
cmp edx, ebx
jge 0x10ba3f0e
neg edx
cmp edx, 0xa
jge 0x10ba3f17
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x14]
fmul st(1)
call fcn.10ddea68
fild dword [esp + 0x18]
mov ebx, eax
fmul st(1)
call fcn.10ddea68
fild dword [esp + 0x1c]
mov ebp, eax
fmul st(1)
call fcn.10ddea68
mov ecx, dword [esi + 0x66c]
mov edx, dword [esi + 0x670]
add ecx, ebx
add edx, ebp
mov ebp, dword [esi + 0x674]
add ebp, eax
mov ebx, ecx
mov dword [esp + 0x70], edx
xor edx, edx
lea eax, [edi + edi*2 + 0xfc]
lea eax, [esi + eax*4]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], 0x3f800000
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xbc], edx
fld dword [eax]
fadd dword [esi + 0x630]
mov edi, dword [esi + 0x48]
cmp edi, edx
fld dword [eax + 4]
fadd dword [esi + 0x634]
fld dword [eax + 8]
fadd dword [esi + 0x638]
fstp dword [esp + 0xc8]
fxch st(1)
fsub dword [esi + 0x63c]
fstp dword [esp + 0x78]
fsub dword [esi + 0x640]
fld dword [esp + 0xc8]
fsub dword [esi + 0x644]
fstp dword [esp + 0x80]
fld dword [esp + 0x78]
fmul st(2)
fstp dword [esp + 0x60]
fmul st(1)
fld dword [esp + 0x80]
fmul st(2)
fstp dword [esp + 0x68]
fld dword [esp + 0x60]
fadd dword [esi + 0x63c]
fstp dword [esp + 0x84]
fadd dword [esi + 0x640]
fstp st(1)
fld dword [esp + 0x68]
fadd dword [esi + 0x644]
fld dword [esp + 0x84]
fsub dword [esi + 0x148]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fxch st(1)
mov dword [esp + 0x2c], ecx
fsub dword [esi + 0x14c]
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
fsub dword [esi + 0x150]
fstp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], ecx
je 0x10ba4106
mov ecx, dword [0x110b962c]
cmp ecx, edx
jne 0x10ba40b4
push 0x10e44b40
call fcn.10a9e0f0
add esp, 4
mov dword [0x110b962c], eax
call fcn.10a9dd90
mov ecx, dword [0x110b962c]
xor edx, edx
mov eax, dword [edi + 0x28]
cmp eax, edx
je 0x10ba40cb
jmp 0x10ba40c0
cmp eax, ecx
je 0x10ba40d6
mov eax, dword [eax + 0x2c]
cmp eax, edx
jne 0x10ba40c0
xor eax, eax
cmp ecx, edx
sete al
cmp eax, edx
je 0x10ba4106
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x70]
push edx
push edx
mov ecx, dword [esi + 0x98]
push edx
mov eax, dword [ecx]
push edx
lea edx, [esp + 0xa0]
push edx
sub esp, 0xc
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [edx + 8], ebp
sub esp, 0xc
mov edx, esp
mov dword [edx], edi
mov edi, dword [esp + 0x5c]
mov dword [edx + 4], edi
mov edi, dword [esp + 0x60]
push esi
mov dword [edx + 8], edi
call dword [eax + 0xa8]
test eax, eax
je 0x10ba4213
fld dword [0x10e45008]
mov eax, dword [esp + 0x10]
fld dword [esp + 0x10]
mov dword [esi + 0x684], eax
fucompp
fnstsw ax
test ah, 0x44
jp 0x10ba4213
and dword [esi + 0x2d4], 0xff7fffff
movzx eax, byte [esi + 0x383]
lea ecx, [eax + eax*2]
fld dword [esi + ecx*4 + 0x3f8]
fadd dword [esi + 0x638]
fsub dword [esi + 0x644]
fmul dword [esi + 0x688]
fld dword [esi + 0x168]
fst dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x10ba41ba
fstp st(0)
fld dword [esp + 0x10]
mov edi, dword [esi]
fstp dword [esi + 0x168]
mov edx, dword [0x110b8628]
push 0
push 0
push 0
push edx
mov ecx, esi
call fcn.109c4030
push eax
mov ecx, esi
call dword [edi + 0x10]
mov al, byte [esi + 0x383]
test al, al
jne 0x10ba4213
mov eax, dword [esi + 0x6e4]
xor edi, edi
test eax, eax
jle 0x10ba4213
mov eax, dword [esi + 0x6e0]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x3b], 0xb
je 0x10ba4208
push 0xb
call fcn.10a40030
mov eax, dword [esi + 0x6e4]
inc edi
cmp edi, eax
jl 0x10ba41f2
test dword [esi + 0x2d4], 0x800000
jne 0x10ba3cff
fld dword [esi + 0x148]
add esi, 0x160
fsub dword [esp + 0x20]
pop edi
fld dword [esi - 0x14]
fsub dword [esp + 0x20]
fld dword [esi - 0x10]
fsub dword [esp + 0x24]
fstp dword [esp + 0x88]
fld dword [0x10e45008]
fdiv dword [esp + 0x40]
fst dword [esp + 0xc]
fmul st(2)
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [esi], ecx
fmul dword [esp + 0xc]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], edx
fstp st(0)
fld dword [esp + 0x88]
fmul dword [esp + 0xc]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esi + 8], eax
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret 4