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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
test dl, dl
je 0x4c93b5
add esp, 0xfffffff0
call fcn.00404c7c
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov word [ebx + 6], 0
cmp byte [esi + 0x53], 0
je 0x4c93cd
or word [ebx + 6], 8
cmp byte [esi + 0x52], 0
je 0x4c93d8
or word [ebx + 6], 0x10
cmp byte [esi + 0x50], 0
je 0x4c93e3
or word [ebx + 6], 4
cmp byte [esi + 0x51], 0
je 0x4c93ee
or word [ebx + 6], 2
cmp byte [esi + 0x54], 0
je 0x4c93f9
or word [ebx + 6], 0x20
mov eax, dword [ebp + 8]
mov dword [ebx + 0xb0], eax
push esi
lea edi, [ebx + 0x10]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea edi, [ebx + 0x20]
push dword [esi + 0x24]
push dword [esi + 0x20]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x18]
call fcn.004bcb84
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
fld qword [ebp - 0x18]
fchs
fstp qword [edi + 0x10]
wait
mov eax, dword [ebp - 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [0x501f9c]
push esi
mov esi, eax
lea edi, [ebx + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x10]
lea edx, [ebx + 0x40]
lea ecx, [eax + 0x10]
fld qword [ecx]
fmul qword [edx]
fld qword [ecx + 0x10]
fmul qword [edx + 8]
faddp st(1)
fstp qword [ebp - 0x48]
wait
fld qword [ecx + 8]
fmul qword [edx]
fld qword [ecx + 0x18]
fmul qword [edx + 8]
faddp st(1)
fstp qword [ebp - 0x40]
wait
push esi
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
fld qword [eax]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x28]
wait
fld qword [eax + 8]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x20]
wait
push esi
lea edi, [ebx + 0x50]
lea esi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebx + 0x50]
lea edi, [ebx + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
mov dword [ebx + 0xc4], eax
xor eax, eax
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0xb8], eax
push esi
lea edi, [ebx + 0x80]
add esi, 0x28
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x94], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x100], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x104], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x108], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x10c], eax
mov eax, dword [0x501f9c]
push esi
mov esi, eax
lea edi, [ebx + 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], eax
movzx eax, byte [esi + 4]
mov byte [ebx + 4], al
cmp al, 2
jne 0x4c959c
xor eax, eax
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], 0x3ff00000
xor eax, eax
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], 0x3ff00000
jmp 0x4c95b8
xor eax, eax
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], eax
xor eax, eax
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], eax
xor eax, eax
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], eax
xor eax, eax
mov dword [ebx + 0xf0], eax
mov dword [ebx + 0xf4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x118], eax
xor eax, eax
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0xc0], eax
xor eax, eax
mov dword [ebx + 0xcc], eax
xor eax, eax
mov dword [ebx + 0xd0], eax
mov eax, ebx
call fcn.004c9664
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c961b
call fcn.00404cd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4