Function at 0x4d05a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x566958]
call fcn.0040a0a4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cfc61
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.0040a174
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.0040a07c
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call fcn.0040a074
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x4d0615
call fcn.00401df8
jmp 0x4d0868
push 0xcc0020
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00409f64
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a0dc
call fcn.00409f64
push eax
call fcn.0040257c
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a0dc
xor ecx, ecx
xor edx, edx
call fcn.00409e94
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x10]
mov dl, 5
call fcn.00409e3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
call fcn.00409e4c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fdiv dword [0x4cfc70]
mov eax, dword [esi]
fstp dword [eax + 0xc0]
wait
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fdiv dword [0x4cfc70]
mov eax, dword [esi]
fstp dword [eax + 0xc4]
wait
mov eax, dword [esi]
fld dword [eax + 0xc0]
fmul st(0)
fstp xword [ebp - 0x24]
wait
mov eax, dword [esi]
fld dword [eax + 0xc4]
fmul st(0)
fld xword [ebp - 0x24]
faddp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00401c60
call fcn.00401c68
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0xbc]
mov dword [ebp - 0x14], eax
fld xword [0x4cfc74]
fmul dword [ebp - 0x14]
fdiv dword [0x4cfc80]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00401c50
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc0]
call fcn.00401c68
mov edi, eax
fld xword [0x4cfc74]
fmul dword [ebp - 0x14]
fdiv dword [0x4cfc80]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00401c58
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc4]
call fcn.00401c68
mov dword [ebp - 0xc], eax
fld dword [ebp - 0x14]
mov eax, dword [esi]
fadd dword [eax + 4]
fstp dword [ebp - 0x14]
wait
fld xword [0x4cfc74]
fmul dword [ebp - 0x14]
fdiv dword [0x4cfc80]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00401c50
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc0]
call fcn.00401c68
mov dword [ebp - 0x10], eax
fld xword [0x4cfc74]
fmul dword [ebp - 0x14]
fdiv dword [0x4cfc80]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00401c58
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
fmulp st(1)
mov eax, dword [esi]
fsubr dword [eax + 0xc4]
call fcn.00401c68
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
add eax, eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
add eax, eax
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
neg eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
neg edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
pop ecx
call fcn.00409ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push fcn.004cfc68
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00409e4c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00409e6c
cmp dword [ebp - 8], 0
je 0x4d0858
mov eax, dword [ebp - 8]
push eax
call fcn.004025f4
mov eax, dword [ebp - 4]
call fcn.00401ce0
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret