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

Disassembly:
sub esp, 0x124
push ebx
push ebp
mov ebp, dword [esp + 0x138]
push esi
mov esi, eax
mov eax, dword [esp + 0x140]
push edi
mov ebx, ecx
mov edi, edx
call fcn.00412ac0
mov edx, dword [0x14bc6c0]
push 0x118
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
inc edx
push 0
push eax
mov dword [0x14bc6c0], edx
call fcn.0042b1c0
mov ecx, dword [esp + 0x144]
mov edx, dword [ecx]
add esp, 0xc
test edi, edi
mov dword [esp + 0xe0], edx
jne 0x41cdb1
mov edi, 0x536e54
test ebx, ebx
jne 0x41cdba
mov ebx, 0x536e54
test esi, esi
fld dword [edi]
fadd dword [ebx]
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x14c]
mov dword [esp + 0xd8], eax
fmul dword [0x55a4b8]
fld dword [edi]
fsub st(1)
fstp dword [esp + 0x44]
fld dword [ebx]
fsub st(1)
fstp dword [esp + 0x50]
fld st(0)
fadd dword [edx]
fstp dword [esp + 0x1c]
fadd dword [ebp]
fst dword [esp + 0x28]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x34]
fld dword [edi + 4]
fadd dword [ebx + 4]
fmul dword [0x55a4b8]
fld dword [edi + 4]
fsub st(1)
fstp dword [esp + 0x48]
fld dword [ebx + 4]
fsub st(1)
fstp dword [esp + 0x54]
fld st(0)
fadd dword [edx + 4]
fstp dword [esp + 0x20]
fadd dword [ebp + 4]
fst dword [esp + 0x2c]
fsub dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [edi + 8]
fadd dword [ebx + 8]
fmul dword [0x55a4b8]
fld dword [edi + 8]
fsub st(1)
fstp dword [esp + 0x4c]
fld dword [ebx + 8]
fsub st(1)
fstp dword [esp + 0x58]
fld st(0)
fadd dword [edx + 8]
fstp dword [esp + 0x24]
fadd dword [ebp + 8]
fst dword [esp + 0x30]
fsub dword [esp + 0x24]
fst dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x40]
je 0x41cea3
mov ecx, 9
lea edi, [esp + 0x110]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x110]
jmp 0x41cf02
fld dword [esp + 0x50]
mov ecx, dword [esp + 0x150]
fcomp dword [esp + 0x58]
mov dword [esp + 0x110], ecx
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0x58]
je 0x41cec8
mov eax, dword [esp + 0x50]
fld dword [esp + 0x58]
mov dword [esp + 0x114], eax
fsub dword [esp + 0x114]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
fstp dword [esp + 0x124]
mov dword [esp + 0x120], 0
test ecx, ecx
fld dword [esp + 0x54]
mov eax, dword [esp + 0x44]
fadd dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
fadd dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
fstp dword [esp + 0xbc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb8], eax
je 0x41d088
xor ecx, ecx
lea esp, [esp]
fld dword [esp + ecx*4 + 0x1c]
fcomp dword [esp + ecx*4 + 0x28]
fld dword [esp + ecx*4 + 0x11c]
fabs
fnstsw ax
test ah, 5
jp 0x41d049
fsubr dword [esp + ecx*4 + 0x1c]
fsub dword [esp + 0x114]
fstp dword [esp + ecx*4 + 0xc0]
fld dword [esp + ecx*4 + 0x11c]
fabs
fadd dword [esp + ecx*4 + 0x28]
jmp 0x41d068
fsubr dword [esp + ecx*4 + 0x28]
fsub dword [esp + 0x114]
fstp dword [esp + ecx*4 + 0xc0]
fld dword [esp + ecx*4 + 0x11c]
fabs
fadd dword [esp + ecx*4 + 0x1c]
fadd dword [esp + 0x114]
inc ecx
cmp ecx, 3
fstp dword [esp + ecx*4 + 0xc8]
jl 0x41d010
mov ecx, dword [esp + 0x110]
jmp 0x41d14e
fld dword [esp + 0x1c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x41d0ac
fld dword [esp + 0x1c]
fadd dword [esp + 0x44]
fstp dword [esp + 0xc0]
fld dword [esp + 0x28]
jmp 0x41d0bf
fld dword [esp + 0x28]
fadd dword [esp + 0x44]
fstp dword [esp + 0xc0]
fld dword [esp + 0x1c]
fadd dword [esp + 0x50]
fstp dword [esp + 0xcc]
fld dword [esp + 0x20]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x41d0ee
fld dword [esp + 0x20]
fadd dword [esp + 0x48]
fstp dword [esp + 0xc4]
fld dword [esp + 0x2c]
jmp 0x41d101
fld dword [esp + 0x2c]
fadd dword [esp + 0x48]
fstp dword [esp + 0xc4]
fld dword [esp + 0x20]
fadd dword [esp + 0x54]
fstp dword [esp + 0xd0]
fld dword [esp + 0x24]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x41d130
fld dword [esp + 0x24]
fadd dword [esp + 0x4c]
fstp dword [esp + 0xc8]
fld dword [esp + 0x30]
jmp 0x41d143
fld dword [esp + 0x30]
fadd dword [esp + 0x4c]
fstp dword [esp + 0xc8]
fld dword [esp + 0x24]
fadd dword [esp + 0x58]
fstp dword [esp + 0xd4]
fld dword [edx]
fcomp dword [ebp]
fnstsw ax
test ah, 0x44
jp 0x41d1e2
fld dword [edx + 4]
fcomp dword [ebp + 4]
fnstsw ax
test ah, 0x44
jp 0x41d1e2
fld dword [edx + 8]
fcomp dword [ebp + 8]
fnstsw ax
test ah, 0x44
jp 0x41d1e2
mov eax, dword [esp + 0x144]
test eax, eax
je 0x41d1d4
cmp eax, 0x1fe
jne 0x41d1bb
mov edx, dword [0x14bc6dc]
mov eax, dword [esp + 0xd8]
test dword [edx], eax
je 0x41d2ff
test ecx, ecx
lea ecx, [esp + 0x1c]
je 0x41d1b1
call fcn.0041b140
jmp 0x41d2ff
call fcn.0041b3d0
jmp 0x41d2ff
mov ecx, dword [esp + 0x18]
add ecx, 0x18
push ecx
lea eax, [esp + 0x20]
call fcn.0041b010
add esp, 4
jmp 0x41d2ff
lea esi, [esp + 0x1c]
call fcn.0041b550
jmp 0x41d2ff
fld dword [esp + 0x54]
mov dword [esp + 0xdc], 1
fadd dword [esp + 0x58]
fadd dword [esp + 0x50]
fcomp dword [0x55a4ac]
fnstsw ax
test ah, 0x44
jnp 0x41d211
mov dword [esp + 0xdc], 0
test ecx, ecx
je 0x41d28d
mov edx, dword [esp + 0x11c]
mov eax, edx
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
mov dword [esp + 0x14], edx
fadd dword [esp + 0x114]
mov edx, dword [esp + 0x120]
mov eax, edx
and eax, 0x7fffffff
fstp dword [esp + 0x128]
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x124]
fadd dword [esp + 0x114]
mov eax, edx
and eax, 0x7fffffff
fstp dword [esp + 0x12c]
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
mov dword [esp + 0x14], edx
fadd dword [esp + 0x114]
fstp dword [esp + 0x130]
mov eax, dword [esp + 0x144]
test eax, eax
je 0x41d2dc
cmp eax, 0x1fe
jne 0x41d2ca
mov edx, dword [0x14bc6dc]
mov eax, dword [esp + 0xd8]
test dword [edx], eax
je 0x41d2ff
test ecx, ecx
je 0x41d2bf
lea esi, [esp + 0x1c]
call fcn.0041c5b0
jmp 0x41d2ff
lea ecx, [esp + 0x1c]
call fcn.0041c8c0
jmp 0x41d2ff
mov esi, dword [esp + 0x18]
add esi, 0x18
lea eax, [esp + 0x1c]
call fcn.0041c090
jmp 0x41d2ff
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.0041ca50
add esp, 0x18
fld dword [esp + 0x34]
mov eax, dword [esp + 0x13c]
fmul dword [esp + 0xe0]
mov edi, dword [esp + 0x138]
mov ecx, 0xc
lea esi, [esp + 0xe0]
fadd dword [eax]
fstp dword [esp + 0xe4]
fld dword [esp + 0x38]
fmul dword [esp + 0xe0]
fadd dword [eax + 4]
fstp dword [esp + 0xe8]
fld dword [esp + 0x3c]
fmul dword [esp + 0xe0]
fadd dword [eax + 8]
fstp dword [esp + 0xec]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret