Function at 0x4da7a0
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 0x4daaa2
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 0x4da896
dec al
je 0x4da8be
jmp 0x4da8e1
fild dword [ebp - 0x20]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.004cf464
mov edx, dword [ebp - 0x58]
lea eax, [esi + 4]
mov ecx, dword [0x4af1b4]
call fcn.00406798
jmp 0x4da8e1
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.004cf294
mov edx, dword [ebp - 0x5c]
lea eax, [esi + 4]
mov ecx, dword [0x4af1b4]
call fcn.00406798
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fdiv dword [0x4daab0]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.004afa34
push eax
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fdiv dword [0x4daab0]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.004afa34
mov edx, eax
mov eax, dword [esi + 4]
pop ecx
call fcn.004cf088
mov eax, dword [esi + 4]
lea edx, [ebp - 0x44]
call fcn.004cf0f8
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.004076d0
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x2c]
call fcn.00407788
mov eax, dword [ebp - 0x28]
call fcn.004afa50
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004afa50
mov edx, eax
mov eax, dword [esi + 4]
pop ecx
call fcn.004cf088
lea ecx, [ebp - 0x54]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
call fcn.004bd270
mov ecx, dword [ebp - 0x50]
neg ecx
mov edx, dword [ebp - 0x54]
neg edx
mov eax, dword [esi + 4]
call fcn.004cf088
mov esi, dword [esi + 8]
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x54]
mov eax, esi
call fcn.004d336c
mov eax, dword [ebp - 0x78]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0xc0], eax
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x54]
call fcn.004afaa0
lea edx, [ebp - 0x78]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x524788]
push esi
lea edi, [esi + 0x98]
mov esi, eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [0x524788]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
fld dword [esi + 0xbc]
fdiv dword [0x4daab0]
add esp, 0xfffffffc
fstp dword [esp]
wait
fld dword [esi + 0xc0]
fdiv dword [0x4daab0]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [ebp - 0x78]
call fcn.004afa7c
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.004afa7c
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.004afa7c
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.004d41a8
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 0x4daaa9
lea eax, [ebp - 0x5c]
mov edx, dword [0x4af1b4]
mov ecx, 2
call fcn.00405c6c
ret