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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x1a82050]
xor ecx, ecx
cmp word [esi + 0x8a], cx
jne 0x410c66
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
push ebx
movzx ebx, word [esi + 0x88]
push edi
xor edi, edi
xor edx, edx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xec], ecx
test bl, 4
jbe 0x410c87
lea ecx, [edi + 1]
test bl, 8
jbe 0x410c91
mov edi, 1
test bl, 0x10
jbe 0x410c9b
mov edx, 1
test bl, 0x20
jbe 0x410caa
mov dword [ebp - 0xdc], 1
test ebx, 0x80
jbe 0x410cbc
mov dword [ebp - 0xec], 1
test ecx, ecx
jne 0x410ce1
test edi, edi
jne 0x410ce1
test edx, edx
jne 0x410ce1
cmp dword [ebp - 0xdc], edx
jne 0x410ce1
mov eax, dword [0x1a8203c]
cmp eax, dword [0x1a82044]
je 0x411563
fld dword [0x1a82020]
fstp dword [ebp - 0xc4]
fld dword [0x1a82024]
fstp dword [ebp - 0xc8]
fild dword [0x1a82040]
fstp dword [ebp - 0xd4]
fld dword [esi + 0x20]
fstp dword [ebp - 0xe8]
fld dword [esi + 0x28]
fstp dword [ebp - 0xd8]
fld dword [esi + 0x24]
fstp dword [ebp - 0xe4]
fld dword [esi + 0x2c]
fstp dword [ebp - 0xe0]
fld dword [0x1a82030]
fld st(0)
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
fld dword [0x1a82034]
test ah, 0x44
jp 0x410d53
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x410d91
fld st(2)
fadd dword [ebp - 0xe8]
fstp dword [ebp - 0xe8]
fld dword [ebp - 0xd8]
faddp st(3)
fxch st(2)
fstp dword [ebp - 0xd8]
fld st(1)
fadd dword [ebp - 0xe4]
fstp dword [ebp - 0xe4]
fld dword [ebp - 0xe0]
faddp st(2)
fxch st(1)
fstp dword [ebp - 0xe0]
jmp 0x410d95
fstp st(2)
fstp st(1)
fld dword [esi + 8]
fld dword [ebp - 0xd4]
fld st(0)
fmulp st(2)
fld dword [esi]
faddp st(2)
fxch st(1)
fstp dword [ebp - 0xcc]
fld dword [esi + 0xc]
fmul st(1)
fadd dword [esi + 4]
fstp dword [ebp - 0xd0]
fld dword [esi + 0x30]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [ebp - 0xb8]
fld dword [esi + 0x38]
fstp dword [ebp - 0xb0]
fld dword [esi + 0x40]
fadd st(1)
fstp dword [ebp - 0xa8]
fld dword [esi + 0x48]
fstp dword [ebp - 0xb4]
fld dword [esi + 0x34]
fstp dword [ebp - 0xac]
fld dword [esi + 0x3c]
fstp dword [ebp - 0xbc]
fld dword [esi + 0x44]
fadd st(1)
fstp dword [ebp - 0xc0]
fadd dword [esi + 0x4c]
fstp dword [ebp - 0xa4]
cmp ecx, 1
jne 0x410eff
fld dword [esi + 0x50]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xb8]
fstp dword [ebp - 0xb8]
fld dword [esi + 0x54]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xac]
fstp dword [ebp - 0xac]
fld dword [esi + 0x58]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xb0]
fstp dword [ebp - 0xb0]
fld dword [esi + 0x5c]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xbc]
fstp dword [ebp - 0xbc]
fld dword [esi + 0x60]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xa8]
fstp dword [ebp - 0xa8]
fld dword [esi + 0x64]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fld dword [esi + 0x68]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xb4]
fstp dword [ebp - 0xb4]
fld dword [esi + 0x6c]
fmul st(1)
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fadd dword [ebp - 0xa4]
fstp dword [ebp - 0xa4]
cmp edx, 1
jne 0x41114f
fstp st(0)
sub esp, 0xc
fld dword [esi + 0x80]
lea ecx, [ebp - 0x44]
fstp dword [ebp - 0x8c]
fld dword [esi + 0x84]
fstp dword [ebp - 0x88]
fstp dword [esp + 8]
fld dword [ebp - 0xd0]
fchs
fstp dword [esp + 4]
fld dword [ebp - 0xcc]
fchs
fstp dword [esp]
push ecx
call fcn.004a5cb0
fld dword [ebp - 0x88]
fmul dword [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x84]
fadd dword [ebp - 0x8c]
fmul qword [0x4e4560]
fstp dword [ebp - 0x8c]
fld dword [ebp - 0x8c]
fstp dword [esp]
push edx
call fcn.004a5e01
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, ecx
push edx
call fcn.004a58c1
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebp - 0xd0]
lea eax, [ebp - 0x84]
fstp dword [esp + 4]
fld dword [ebp - 0xcc]
fstp dword [esp]
push eax
call fcn.004a5cb0
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x44]
push edx
mov eax, edx
push eax
call fcn.004a58c1
fld dword [ebp - 0xb8]
fstp dword [ebp - 0x90]
mov ecx, dword [ebp - 0x90]
fld dword [ebp - 0xac]
lea eax, [ebp - 0x44]
fstp dword [ebp - 0x8c]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], ecx
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x9c], edx
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.004a5fb5
fld dword [ebp - 0x98]
fstp dword [ebp - 0xb8]
lea edx, [ebp - 0x44]
fld dword [ebp - 0x94]
push edx
fstp dword [ebp - 0xac]
fld dword [ebp - 0xb0]
fstp dword [ebp - 0x90]
mov eax, dword [ebp - 0x90]
fld dword [ebp - 0xbc]
mov dword [ebp - 0xa0], eax
fstp dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], ecx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004a5fb5
fld dword [ebp - 0x98]
fstp dword [ebp - 0xb0]
lea ecx, [ebp - 0x44]
fld dword [ebp - 0x94]
push ecx
fstp dword [ebp - 0xbc]
fld dword [ebp - 0xa8]
fstp dword [ebp - 0x90]
mov edx, dword [ebp - 0x90]
fld dword [ebp - 0xc0]
mov dword [ebp - 0xa0], edx
fstp dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.004a5fb5
fld dword [ebp - 0x98]
fstp dword [ebp - 0xa8]
lea eax, [ebp - 0x44]
fld dword [ebp - 0x94]
push eax
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xb4]
fstp dword [ebp - 0x90]
mov ecx, dword [ebp - 0x90]
fld dword [ebp - 0xa4]
mov dword [ebp - 0xa0], ecx
fstp dword [ebp - 0x8c]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x9c], edx
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.004a5fb5
fld dword [ebp - 0x98]
fstp dword [ebp - 0xb4]
fld dword [ebp - 0x94]
fstp dword [ebp - 0xa4]
fldz
fld dword [ebp - 0xd4]
cmp edi, 1
jne 0x41137f
fmul dword [esi + 0x74]
sub esp, 0xc
lea eax, [ebp - 0x44]
fadd dword [esi + 0x70]
fstp dword [ebp - 0x88]
fstp dword [esp + 8]
fld dword [ebp - 0xd0]
fchs
fstp dword [esp + 4]
fld dword [ebp - 0xcc]
fchs
fstp dword [esp]
push eax
call fcn.004a5cb0
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
fst dword [esp + 4]
fstp dword [esp]
push ecx
call fcn.004a5c54
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, eax
push ecx
call fcn.004a58c1
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [ebp - 0xd0]
lea edx, [ebp - 0x84]
fstp dword [esp + 4]
fld dword [ebp - 0xcc]
fstp dword [esp]
push edx
call fcn.004a5cb0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, ecx
push edx
call fcn.004a58c1
fld dword [ebp - 0xb8]
fstp dword [ebp - 0x90]
mov eax, dword [ebp - 0x90]
fld dword [ebp - 0xac]
lea edx, [ebp - 0x44]
fstp dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], eax
push edx
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x9c], ecx
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004a5fb5
fld dword [ebp - 0x98]
fstp dword [ebp - 0xb8]
lea ecx, [ebp - 0x44]
fld dword [ebp - 0x94]
push ecx
fstp dword [ebp - 0xac]
fld dword [ebp - 0xb0]
fstp dword [ebp - 0x90]
mov edx, dword [ebp - 0x90]
fld dword [ebp - 0xbc]
mov dword [ebp - 0xa0], edx
fstp dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.004a5fb5
fld dword [ebp - 0x98]
lea eax, [ebp - 0x44]
fstp dword [ebp - 0xb0]
push eax
fld dword [ebp - 0x94]
fstp dword [ebp - 0xbc]
fld dword [ebp - 0xa8]
fstp dword [ebp - 0x90]
mov ecx, dword [ebp - 0x90]
fld dword [ebp - 0xc0]
mov dword [ebp - 0xa0], ecx
fstp dword [ebp - 0x8c]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x9c], edx
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.004a5fb5
fld dword [ebp - 0x98]
fstp dword [ebp - 0xa8]
lea edx, [ebp - 0x44]
fld dword [ebp - 0x94]
push edx
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xb4]
fstp dword [ebp - 0x90]
mov eax, dword [ebp - 0x90]
fld dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
fstp dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x9c], ecx
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004a5fb5
fld dword [ebp - 0x98]
fstp dword [ebp - 0xb4]
fld dword [ebp - 0x94]
fstp dword [ebp - 0xa4]
fldz
fld dword [ebp - 0xd4]
cmp dword [ebp - 0xdc], 1
jne 0x411396
fmul dword [esi + 0x7c]
fadd dword [esi + 0x78]
fdiv qword [0x4e4498]
jmp 0x41139a
fstp st(0)
fld1
fstp dword [0x1a82048]
mov edx, dword [0x1a82054]
fld dword [ebp - 0xd8]
fld dword [ebp - 0xc4]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [ebp - 0xc4]
fld dword [ebp - 0xc4]
fst dword [edx + 0x1c]
fld dword [ebp - 0xe8]
fdivrp st(2)
mov eax, dword [0x1a82058]
fxch st(1)
fstp dword [ebp - 0xc4]
fld dword [ebp - 0xc4]
fst dword [eax + 0x1c]
fxch st(1)
mov ecx, dword [0x1a8205c]
fstp dword [ecx + 0x1c]
mov edx, dword [0x1a82060]
fstp dword [edx + 0x1c]
mov eax, dword [0x1a82054]
fld dword [ebp - 0xe4]
fld dword [ebp - 0xc8]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [ebp - 0xc8]
fld dword [ebp - 0xc8]
fst dword [eax + 0x20]
mov ecx, dword [0x1a82058]
fstp dword [ecx + 0x20]
mov edx, dword [0x1a8205c]
fdivr dword [ebp - 0xe0]
fstp dword [ebp - 0xc8]
fld dword [ebp - 0xc8]
fst dword [edx + 0x20]
mov eax, dword [0x1a82060]
fstp dword [eax + 0x20]
fld dword [0x1a82028]
fld st(0)
fld st(2)
fucompp
fnstsw ax
fld dword [0x1a8202c]
test ah, 0x44
jp 0x411581
fld st(0)
fucomp st(3)
fnstsw ax
fstp st(2)
test ah, 0x44
jp 0x411583
fstp st(0)
fstp st(0)
fild dword [0x1a82038]
mov ecx, dword [0x1a82054]
fmul qword [0x4e4618]
fadd qword [0x4e4698]
fstp dword [ebp - 0x88]
fld dword [ebp - 0x88]
fst dword [ecx]
mov edx, dword [0x1a82054]
fld dword [ebp - 0xb8]
fld qword [0x4e4690]
fdiv st(1), st(0)
fxch st(1)
fstp dword [edx + 4]
fld dword [ebp - 0xac]
fchs
mov eax, dword [0x1a82054]
fdiv st(1)
fstp dword [eax + 8]
fxch st(1)
mov ecx, dword [0x1a82058]
fst dword [ecx]
fld dword [ebp - 0xb0]
fdiv st(2)
mov edx, dword [0x1a82058]
fstp dword [edx + 4]
fld dword [ebp - 0xbc]
fchs
mov eax, dword [0x1a82058]
fdiv st(2)
fstp dword [eax + 8]
mov ecx, dword [0x1a8205c]
fst dword [ecx]
mov edx, dword [0x1a8205c]
fld dword [ebp - 0xa8]
fdiv st(2)
fstp dword [edx + 4]
fld dword [ebp - 0xc0]
fchs
mov eax, dword [0x1a8205c]
fdiv st(2)
fstp dword [eax + 8]
mov ecx, dword [0x1a82060]
fstp dword [ecx]
mov edx, dword [0x1a82060]
fld dword [ebp - 0xb4]
xor ecx, ecx
fdiv st(1)
cmp dword [ebp - 0xec], 1
sete cl
fstp dword [edx + 4]
fld dword [ebp - 0xa4]
fchs
mov eax, dword [0x1a82060]
fdivrp st(1)
fstp dword [eax + 8]
mov dword [0x1a8204c], ecx
mov ecx, dword [ebp - 4]
and bl, 2
movzx eax, bl
neg eax
pop edi
sbb eax, eax
pop ebx
xor ecx, ebp
add eax, 2
pop esi
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
fstp st(2)
fld st(0)
fadd dword [ebp - 0xb8]
fstp dword [ebp - 0xb8]
fld st(1)
fadd dword [ebp - 0xac]
fstp dword [ebp - 0xac]
fld st(0)
fadd dword [ebp - 0xb0]
fstp dword [ebp - 0xb0]
fld st(1)
fadd dword [ebp - 0xbc]
fstp dword [ebp - 0xbc]
fld st(0)
fadd dword [ebp - 0xa8]
fstp dword [ebp - 0xa8]
fld st(1)
fadd dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
fadd dword [ebp - 0xb4]
fstp dword [ebp - 0xb4]
fadd dword [ebp - 0xa4]
fstp dword [ebp - 0xa4]
jmp 0x41147d