Function at 0x493638
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 1], cl
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49393a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x24]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 8]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 8]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 8]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x44]
mov ecx, 0x18
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 9]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 9]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 2]
mov ecx, 1
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov al, byte [ebp - 1]
sub al, 4
je 0x49372e
dec al
je 0x493756
jmp 0x493779
fild dword [ebp - 0x20]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.00488474
mov edx, dword [ebp - 0x58]
lea eax, [esi + 4]
mov ecx, dword [0x46f074]
call fcn.00405e00
jmp 0x493779
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.004882a4
mov edx, dword [ebp - 0x5c]
lea eax, [esi + 4]
mov ecx, dword [0x46f074]
call fcn.00405e00
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fdiv dword [0x493948]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.0046f8f0
push eax
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fdiv dword [0x493948]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.0046f8f0
mov edx, eax
mov eax, dword [esi + 4]
pop ecx
call fcn.00488098
mov eax, dword [esi + 4]
lea edx, [ebp - 0x44]
call fcn.00488108
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00406d1c
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x2c]
call fcn.00406dd4
mov eax, dword [ebp - 0x28]
call fcn.0046f90c
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0046f90c
mov edx, eax
mov eax, dword [esi + 4]
pop ecx
call fcn.00488098
lea ecx, [ebp - 0x54]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
call fcn.0047ce74
mov ecx, dword [ebp - 0x50]
neg ecx
mov edx, dword [ebp - 0x54]
neg edx
mov eax, dword [esi + 4]
call fcn.00488098
mov esi, dword [esi + 8]
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x54]
mov eax, esi
call fcn.0048c220
mov eax, dword [ebp - 0x78]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0xbc], eax
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x54]
call fcn.0046f95c
lea edx, [ebp - 0x78]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x4cd6b8]
push esi
lea edi, [esi + 0x94]
mov esi, eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [0x4cd6b8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
fld dword [esi + 0xb8]
fdiv dword [0x493948]
add esp, 0xfffffffc
fstp dword [esp]
wait
fld dword [esi + 0xbc]
fdiv dword [0x493948]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [ebp - 0x78]
call fcn.0046f938
lea edx, [ebp - 0x78]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
push 0x3f800000
push 0x3f800000
lea eax, [ebp - 0x78]
call fcn.0046f938
lea edx, [ebp - 0x78]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x50]
push 0
push 0
lea eax, [ebp - 0x78]
call fcn.0046f938
lea edx, [ebp - 0x78]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
push 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xfc]
mov dl, 0xb
mov eax, esi
call fcn.0048d05c
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493941
lea eax, [ebp - 0x5c]
mov edx, dword [0x46f074]
mov ecx, 2
call fcn.004053dc
ret