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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff7c
mov esi, eax
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [0x589d70]
call fcn.004a0414
mov eax, dword [edi]
cmp byte [eax + 0x1c], 0
je 0x4c04b1
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call fcn.0049e7bc
push 0x40c77000
push 0
call fcn.004a0440
xor esi, esi
mov eax, dword [edi]
mov edx, esi
call fcn.004aec28
mov ebx, eax
cmp byte [ebx + 4], 0
je 0x4c0573
cmp byte [ebx + 5], 0
jne 0x4c0573
mov eax, dword [ebx + 8]
call fcn.004a93b4
test al, al
je 0x4c0573
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x44]
push dword [ebx + 0x40]
fild dword [esp + 0x28]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [esp + 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
fild dword [esp + 0xa8]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov dword [esp + 0xb4], eax
fild dword [esp + 0xb4]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x48]
push eax
push dword [ebx + 0x54]
push dword [ebx + 0x50]
mov eax, dword [ebx + 8]
call fcn.004a94a0
mov cl, byte [ebx + 0x21]
mov dl, byte [ebx + 0x20]
call fcn.004a8fa0
inc esi
cmp esi, 8
jne 0x4c04bf
xor esi, esi
xor ebx, ebx
call fcn.004bffb0
fstp qword [esp]
wait
jmp 0x4c08b1
cmp edx, esi
jle 0x4c05a0
lea ecx, [esp + 0x18]
mov eax, dword [edi]
mov edx, esi
call fcn.004aec78
mov eax, dword [edi]
cmp ebx, dword [eax + 0x68]
jge 0x4c05b2
mov eax, dword [edi]
mov edx, ebx
call fcn.004aec50
mov ebp, eax
mov eax, dword [edi]
cmp ebx, dword [eax + 0x68]
jge 0x4c05c8
cmp byte [ebp + 0x110], 0
je 0x4c05c8
inc ebx
jmp 0x4c08b1
mov eax, dword [edi]
cmp ebx, dword [eax + 0x68]
jge 0x4c05de
cmp byte [ebp + 0xd0], 0
jne 0x4c05de
inc ebx
jmp 0x4c08b1
mov eax, dword [edi]
cmp esi, dword [eax + 0x88]
jge 0x4c05f5
cmp byte [esp + 0x70], 0
jne 0x4c05f5
inc esi
jmp 0x4c08b1
mov eax, dword [edi]
cmp ebx, dword [eax + 0x68]
jge 0x4c0607
fld qword [esp]
fcomp qword [ebp + 0x48]
fnstsw ax
sahf
jb 0x4c066e
mov eax, dword [edi]
cmp esi, dword [eax + 0x88]
jge 0x4c061d
fld qword [esp]
fcomp qword [esp + 0x40]
fnstsw ax
sahf
jb 0x4c066e
fld qword [esp]
fcomp dword [0x4c0a44]
fnstsw ax
sahf
jbe 0x4c066e
push 0x40c57c00
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0042c64c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a0440
push dword [esp + 4]
push dword [esp + 4]
call fcn.004c00a4
push dword [esp + 4]
push dword [esp + 4]
call fcn.004c001c
fstp qword [esp]
wait
jmp 0x4c08b1
mov eax, dword [edi]
cmp ebx, dword [eax + 0x68]
jge 0x4c0693
mov eax, dword [edi]
cmp esi, dword [eax + 0x88]
jge 0x4c07a7
fld qword [esp + 0x40]
fcomp qword [ebp + 0x48]
fnstsw ax
sahf
jbe 0x4c07a7
push 0x40c57c00
push 0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.0042c64c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a0440
fild dword [esp + 0x10]
fcomp qword [esp + 0x18]
fnstsw ax
sahf
jae 0x4c06c6
inc esi
jmp 0x4c08b1
fild dword [esp + 0x14]
fcomp qword [esp + 0x20]
fnstsw ax
sahf
jae 0x4c06d9
inc esi
jmp 0x4c08b1
fild dword [esp + 0x34]
fmul qword [esp + 0x50]
fadd qword [esp + 0x18]
fild dword [esp + 8]
fcompp
fnstsw ax
sahf
jbe 0x4c06f6
inc esi
jmp 0x4c08b1
fild dword [esp + 0x38]
fmul qword [esp + 0x58]
fadd qword [esp + 0x20]
fild dword [esp + 0xc]
fcompp
fnstsw ax
sahf
jbe 0x4c0713
inc esi
jmp 0x4c08b1
mov eax, dword [esp + 0x28]
call fcn.004a93b4
test al, al
jne 0x4c0726
inc esi
jmp 0x4c08b1
fild dword [esp + 0x2c]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [esp + 0x38]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [esp + 0x44]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [esp + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0xac]
push dword [esp + 0xac]
mov eax, dword [esp + 0x70]
call fcn.004a94a0
mov edx, dword [esp + 0xa8]
call fcn.004a8edc
inc esi
jmp 0x4c08b1
push 0x40c57c00
push 0
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0042c64c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a0440
mov eax, dword [ebp + 0xd8]
mov edx, 8
call fcn.004b198c
test al, al
je 0x4c07ee
push 0
mov ecx, 8
mov edx, ebp
mov eax, ebp
call fcn.004b37ac
jmp 0x4c08b0
mov eax, dword [ebp + 8]
call fcn.004a8338
test al, al
je 0x4c08b0
fld qword [ebp + 0x20]
fcomp dword [0x4c0a48]
fnstsw ax
sahf
jne 0x4c086b
fld qword [ebp + 0x28]
fcomp dword [0x4c0a48]
fnstsw ax
sahf
jne 0x4c086b
fld qword [ebp + 0x30]
fcomp dword [0x4c0a4c]
fnstsw ax
sahf
jne 0x4c086b
cmp dword [ebp + 0x40], 0xffffff
jne 0x4c086b
fld qword [ebp + 0x38]
fcomp dword [0x4c0a48]
fnstsw ax
sahf
jne 0x4c086b
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
fld qword [ebp + 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042c498
push eax
mov eax, dword [ebp + 8]
call fcn.004a8424
pop edx
call fcn.004a7ad4
jmp 0x4c08b0
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
fld qword [ebp + 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042c498
push eax
mov eax, dword [ebp + 8]
call fcn.004a8424
mov ecx, dword [ebp + 0x40]
pop edx
call fcn.004a7b1c
inc ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x88]
cmp esi, edx
jl 0x4c058f
mov eax, dword [edi]
cmp ebx, dword [eax + 0x68]
jl 0x4c058f
fld qword [esp]
fcomp dword [0x4c0a44]
fnstsw ax
sahf
ja 0x4c058f
push 0xc0c77000
push 0
call fcn.004a0440
xor esi, esi
mov eax, dword [edi]
mov edx, esi
call fcn.004aec28
mov ebx, eax
cmp byte [ebx + 4], 0
je 0x4c09ac
cmp byte [ebx + 5], 0
je 0x4c09ac
mov eax, dword [ebx + 8]
call fcn.004a93b4
test al, al
je 0x4c09ac
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x44]
push dword [ebx + 0x40]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x98], ebp
fild dword [esp + 0x98]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [esp + 0x34]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0xac], eax
fild dword [esp + 0xac]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov dword [esp + 0xb8], eax
fild dword [esp + 0xb8]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x48]
push eax
push dword [ebx + 0x54]
push dword [ebx + 0x50]
mov eax, dword [ebx + 8]
call fcn.004a94a0
mov cl, byte [ebx + 0x21]
mov dl, byte [ebx + 0x20]
call fcn.004a8fa0
inc esi
cmp esi, 8
jne 0x4c08ec
push 0xc0c96400
push 0
call fcn.004a0440
mov eax, dword [0x589aac]
mov eax, dword [eax]
call fcn.004a8338
test al, al
je 0x4c0a37
call fcn.0049e158
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0049e19c
mov dword [esp + 0x84], eax
fild dword [esp + 0x84]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x3ff00000
push 0
push 0x3ff00000
push 0
push 0
push 0
push 0x3ff00000
push 0
mov eax, dword [0x589aac]
mov eax, dword [eax]
call fcn.004a8424
mov edx, dword [0x58a068]
mov edx, dword [edx]
mov ecx, 0xffffff
call fcn.004a7b1c
add esp, 0x84
pop ebp
pop edi
pop esi
pop ebx
ret