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

Disassembly:
sub esp, 0x1ac
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x41ff90
push edi
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edi
jbe 0x41ff8f
push ebp
push esi
jmp 0x41faf0
mov edi, dword [esp + 0x1c]
jmp 0x41faf0
mov eax, dword [ebx + 0x5c]
push eax
call fcn.0049eb00
mov ecx, dword [ebx + 0x5c]
push ecx
mov dword [esp + 0x2c], eax
call fcn.0049eb30
mov edx, dword [ebx + 0x60]
mov esi, eax
mov eax, dword [edx + edi*4]
push eax
call fcn.0049ff50
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + edi*4]
push edx
mov dword [esp + 0x30], eax
call fcn.0049ffa0
mov ebp, eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax + edi*4]
push ecx
call fcn.0049ff50
mov edx, dword [ebx + 0x64]
mov eax, dword [edx + edi*4]
push eax
call fcn.0049ffa0
mov edx, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0xac], 0x3f800000
mov ecx, 0x10
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
mov dword [esp + 0xec], 0x3f800000
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xc4], 0x3f800000
mov dword [esp + 0xb0], 0x3f800000
mov ecx, dword [esi]
mov dword [esp + 0x70], ecx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x84], ecx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov ecx, dword [esi + 8]
mov dword [esp + 0x90], ecx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x94], eax
mov ecx, dword [esi + 0x28]
mov eax, dword [ebx + 0xc]
add esp, 0x18
test eax, eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
jne 0x41fdd4
mov eax, dword [ebp]
mov dword [esp + 0x98], eax
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x9c], ecx
mov eax, dword [ebp + 0x20]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov ecx, dword [ebp + 4]
mov dword [esp + 0xa8], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xac], eax
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0xb8], eax
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0xbc], ecx
mov eax, dword [ebp + 0x28]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov ecx, dword [edx]
mov dword [esp + 0x10c], ecx
mov eax, dword [edx + 0x10]
mov dword [esp + 0x110], eax
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], 0
mov eax, dword [edx + 4]
mov dword [esp + 0x11c], eax
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x120], ecx
mov eax, dword [edx + 0x24]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 0
mov ecx, dword [edx + 8]
mov dword [esp + 0x12c], ecx
mov eax, dword [edx + 0x18]
mov dword [esp + 0x130], eax
mov ecx, dword [edx + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], 0
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x150]
push ecx
lea ecx, [esp + 0x114]
mov dword [esp + 0x20], edx
call fcn.0044d9e0
mov edx, dword [eax]
mov dword [esp + 0x10], edx
fld dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edx
fadd dword [eax]
lea ecx, [esp + 0x10c]
lea edx, [esp + 0x17c]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [eax + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [eax + 8]
lea eax, [esp + 0x98]
push eax
push ecx
push edx
fstp dword [esp + 0x24]
call fcn.0044dbe0
add esp, 0xc
mov ecx, 0x10
lea esi, [esp + 0x17c]
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x60]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.004a0030
add esp, 4
test eax, eax
jne 0x41fe23
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
push eax
call fcn.004a3eb0
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c4]
mov edx, dword [ecx]
add esp, 4
push 0x10
push 0xff7f7fff
push eax
lea eax, [esp + 0x1c]
push eax
call dword [edx + 0xd0]
jmp 0x41ff7d
cmp eax, 1
jne 0x41ff7d
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + esi*4]
lea ecx, [esp + 0xfc]
push ecx
push eax
call fcn.004a4060
add esp, 8
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x15c]
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], 0x3f800000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.0044db60
mov ecx, dword [eax]
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x168]
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x50], 0
call fcn.0044db60
mov ecx, dword [eax]
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x174]
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0xf4], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x3f800000
call fcn.0044db60
fld dword [esp + 0xfc]
fmul dword [0x4db298]
mov ecx, dword [eax]
mov dword [esp + 0xf0], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x1c0]
fstp dword [esp + 0x4c]
fld dword [esp + 0x100]
mov dword [esp + 0xf4], edx
fmul dword [0x4db298]
mov eax, dword [eax + 8]
mov edx, dword [ecx]
mov dword [esp + 0xf8], eax
push 0xff7f7fff
lea eax, [esp + 0xdc]
push eax
fstp dword [esp + 0x58]
fld dword [esp + 0x10c]
lea eax, [esp + 0x54]
fmul dword [0x4db298]
push eax
lea eax, [esp + 0x1c]
push eax
fstp dword [esp + 0x64]
call dword [edx + 0xcc]
mov eax, dword [ebx + 0x68]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jb 0x41fae7
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x1ac
ret 4