Function at 0x4beb00
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 0x4beec1
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 [0x4beed0]
fmulp st(1)
fdiv dword [0x4beedc]
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 [0x4beed0]
fmulp st(1)
fdiv dword [0x4beedc]
fstp qword [ebp - 0x30]
wait
fld qword [ebp - 0x28]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jbe 0x4bebfc
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 0x4bec47
sub bl, 2
je 0x4bec8f
jmp 0x4becc9
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.0049b7e8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.0049b7e8
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
pop ecx
call fcn.004ab820
jmp 0x4becc9
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0049b7e8
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.0049b7e8
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
pop ecx
call fcn.004ab7d4
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.004071f0
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x38]
call fcn.004072a8
mov eax, dword [ebp - 0x34]
neg eax
call fcn.0049b7e4
push eax
mov eax, dword [ebp - 0x38]
neg eax
call fcn.0049b7e4
mov edx, eax
mov eax, dword [ebp - 0x40]
pop ecx
call fcn.004b3f64
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.004071f0
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x38]
call fcn.004072a8
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x40]
call fcn.004b3fd4
mov eax, dword [ebp - 0x34]
call fcn.0049b7e4
push eax
mov eax, dword [ebp - 0x38]
call fcn.0049b7e4
mov edx, eax
mov eax, dword [ebp - 0x40]
pop ecx
call fcn.004b3f64
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.004ab4b0
mov ecx, dword [ebp - 0x74]
neg ecx
mov edx, dword [ebp - 0x78]
neg edx
mov eax, dword [ebp - 0x40]
call fcn.004b3f64
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x78]
xor edx, edx
call fcn.0049b9e0
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x40]
mov ecx, dword [0x49af4c]
call fcn.004062b8
lea eax, [ebp - 0x40]
mov edx, dword [0x49af4c]
call fcn.0040627c
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.004b8058
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.0049b834
lea edx, [ebp - 0x80]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
fld dword [esi + 0xb8]
fdiv dword [0x4beee0]
add esp, 0xfffffffc
fstp dword [esp]
wait
fld dword [esi + 0xbc]
fdiv dword [0x4beee0]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [ebp - 0x80]
call fcn.0049b810
lea edx, [ebp - 0x80]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [0x4d436c]
push esi
lea edi, [esi + 0x94]
mov esi, eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [0x4d436c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0x3f800000
push 0x3f800000
lea eax, [ebp - 0x80]
call fcn.0049b810
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.0049b810
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.004b8e94
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xfc]
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 0x4beec8
lea eax, [ebp - 0x40]
mov edx, dword [0x49af4c]
call fcn.0040627c
ret