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

Disassembly:
mov eax, dword [0x62f460]
sub esp, 0x90
test eax, eax
push ebp
mov ebp, ecx
je 0x41d21c
cmp dword [eax + 0x30], 2
je 0x41d4f1
push ebx
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.004f4ce0
mov eax, dword [ebp + 0x1c]
push 0x64
mov dword [esp + 0x80], 0x1014
mov dword [esp + 0x4c], eax
call fcn.00418ff0
push 0x6b
mov dword [esp + 0x88], eax
call fcn.00418ff0
add esp, 8
mov dword [esp + 0x84], eax
xor ebx, ebx
jmp 0x41d260
mov ecx, dword [ebx + 0x60bf9c]
mov edx, dword [ebp]
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x64]
push 0x43b40000
call fcn.004bd510
fstp dword [esp + 0x70]
push 0x40000000
push 0x3f000000
call fcn.004bd540
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
fmul dword [0x5da2d4]
push 0x42340000
mov dword [esp + 0x5c], edx
fstp dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
call fcn.004bd510
fstp dword [esp + 0x80]
mov ecx, dword [0x6800e4]
add esp, 0x10
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x78], 0x66
call fcn.004f54c0
mov esi, eax
test esi, esi
je 0x41d397
mov eax, dword [ebx + 0x62fad8]
push eax
push 0x11
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x6800b4]
call fcn.004f1bd0
mov edi, eax
test edi, edi
je 0x41d37c
push 0x42c80000
push 0
call fcn.004bd540
fstp dword [esp + 0x24]
push 0x42c80000
push 0
call fcn.004bd540
fstp dword [esp + 0x54]
push 0x42c80000
push 0
call fcn.004bd540
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
lea ecx, [edi + 0x70]
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [edi + 0xb0]
or ecx, 0x840
add esp, 0x18
mov dword [edi + 0xb0], ecx
push edi
mov ecx, esi
call fcn.004f4d80
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x50]
or edx, 1
add eax, 0x7d0
mov dword [esi + 0x68], 0x7d0
mov dword [esi + 4], edx
mov dword [esi + 0x54], eax
push 0
push 7
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x6800b4]
call fcn.004f1bd0
mov esi, eax
test esi, esi
je 0x41d4d9
push 0x3f000000
push 0
mov dword [esp + 0x18], 0
call fcn.004bd540
fchs
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
add esp, 8
fcomp dword [0x60477c]
mov dword [esp + 0x18], 0
fnstsw ax
test ah, 0x44
jp 0x41d3f9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x41d431
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fsqrt
fdivr dword [0x5f53f4]
fld dword [0x60477c]
fmul st(1)
fst dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fstp st(0)
lea edi, [esi + 0x58]
mov dword [edi], ecx
mov dword [edi + 4], eax
push 0x42480000
push 0x41a00000
mov dword [edi + 8], edx
call fcn.004bd540
push 0x43fa0000
fstp dword [esi + 0x7c]
push 0x43960000
call fcn.004bd540
fstp dword [esp + 0xc]
add esp, 0xc
mov ecx, esi
call fcn.004f0f30
fld dword [esi + 0x88]
fsub dword [esi + 0x84]
mov edx, dword [esi + 0xa0]
test edx, edx
fmul dword [0x5da6e8]
fild dword [esi + 0xa0]
jge 0x41d493
fadd dword [0x5da2fc]
fdivp st(1)
mov ecx, dword [esi + 0xb0]
or ecx, 0x20000
push 0x40000000
push 0x3fa00000
mov dword [esi + 0xb0], ecx
fstp dword [esi + 0x8c]
call fcn.004bd540
fmul dword [0x5da6e8]
add esp, 8
call fcn.0058c3f0
push eax
mov ecx, esi
call fcn.004f0c30
or dword [esi + 0xb0], 0x20
add ebx, 4
cmp ebx, 0x24
jb 0x41d260
lea ecx, [esp + 0x48]
call fcn.004031a0
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x90
ret 4