Function at 0x4bd594
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bd955
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
fild dword [ebp - 0xc]
fld xword [0x4bd964]
fmulp st(1)
fdiv dword [0x4bd970]
fstp qword [ebp - 0x28]
wait
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
fild dword [ebp - 0xc]
fld xword [0x4bd964]
fmulp st(1)
fdiv dword [0x4bd970]
fstp qword [ebp - 0x30]
wait
fld qword [ebp - 0x28]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jbe 0x4bd690
fld qword [ebp - 0x28]
fstp dword [ebp - 0x3c]
wait
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
fld dword [ebp - 0x3c]
fstp qword [ebp - 0x30]
wait
lea edx, [ebp - 0x58]
mov ecx, 0x18
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0xd]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0xd]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
sub bl, 1
jb 0x4bd6db
sub bl, 2
je 0x4bd723
jmp 0x4bd75d
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0049a2f8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.0049a2f8
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
pop ecx
call fcn.004aa704
jmp 0x4bd75d
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0049a2f8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.0049a2f8
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
pop ecx
call fcn.004aa6b8
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
xor eax, eax
call fcn.00407174
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x38]
call fcn.0040722c
mov eax, dword [ebp - 0x34]
neg eax
call fcn.0049a2f4
push eax
mov eax, dword [ebp - 0x38]
neg eax
call fcn.0049a2f4
mov edx, eax
mov eax, dword [ebp - 0x40]
pop ecx
call fcn.004b29fc
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00407174
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x38]
call fcn.0040722c
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x40]
call fcn.004b2a6c
mov eax, dword [ebp - 0x34]
call fcn.0049a2f4
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049a2f4
mov edx, eax
mov eax, dword [ebp - 0x40]
pop ecx
call fcn.004b29fc
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x40]
call fcn.004aa394
mov ecx, dword [ebp - 0x74]
neg ecx
mov edx, dword [ebp - 0x78]
neg edx
mov eax, dword [ebp - 0x40]
call fcn.004b29fc
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x78]
xor edx, edx
call fcn.0049a4f0
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x40]
mov ecx, dword [0x499ab4]
call fcn.0040623c
lea eax, [ebp - 0x40]
mov edx, dword [0x499ab4]
call fcn.00406200
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov esi, ebx
lea ecx, [ebp - 0x80]
mov eax, ebx
lea edx, [ebp - 0x78]
call fcn.004b6af8
mov eax, dword [ebp - 0x80]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0xbc], eax
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x78]
call fcn.0049a344
lea edx, [ebp - 0x80]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
fld dword [esi + 0xb8]
fdiv dword [0x4bd974]
add esp, 0xfffffffc
fstp dword [esp]
wait
fld dword [esi + 0xbc]
fdiv dword [0x4bd974]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [ebp - 0x80]
call fcn.0049a320
lea edx, [ebp - 0x80]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x4d2350]
push esi
lea edi, [esi + 0x94]
mov esi, eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [0x4d2350]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0x3f800000
push 0x3f800000
lea eax, [ebp - 0x80]
call fcn.0049a320
lea edx, [ebp - 0x80]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x50]
push 0
push 0
lea eax, [ebp - 0x80]
call fcn.0049a320
lea edx, [ebp - 0x80]
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 dl, 6
mov eax, esi
call fcn.004b7934
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xf4]
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 0x4bd95c
lea eax, [ebp - 0x40]
mov edx, dword [0x499ab4]
call fcn.00406200
ret