Function at 0x4bf488
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 0x4bf78a
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 0x4bf57e
dec al
je 0x4bf5a6
jmp 0x4bf5c9
fild dword [ebp - 0x20]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.004b4340
mov edx, dword [ebp - 0x58]
lea eax, [esi + 4]
mov ecx, dword [0x49af4c]
call fcn.004062b8
jmp 0x4bf5c9
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.004b4170
mov edx, dword [ebp - 0x5c]
lea eax, [esi + 4]
mov ecx, dword [0x49af4c]
call fcn.004062b8
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fdiv dword [0x4bf798]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.0049b7c8
push eax
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fdiv dword [0x4bf798]
add esp, 0xfffffffc
fstp dword [esp]
wait
call fcn.0049b7c8
mov edx, eax
mov eax, dword [esi + 4]
pop ecx
call fcn.004b3f64
mov eax, dword [esi + 4]
lea edx, [ebp - 0x44]
call fcn.004b3fd4
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.004071f0
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x2c]
call fcn.004072a8
mov eax, dword [ebp - 0x28]
call fcn.0049b7e4
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0049b7e4
mov edx, eax
mov eax, dword [esi + 4]
pop ecx
call fcn.004b3f64
lea ecx, [ebp - 0x54]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
call fcn.004ab59c
mov ecx, dword [ebp - 0x50]
neg ecx
mov edx, dword [ebp - 0x54]
neg edx
mov eax, dword [esi + 4]
call fcn.004b3f64
mov esi, dword [esi + 8]
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x54]
mov eax, esi
call fcn.004b8058
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.0049b834
lea edx, [ebp - 0x78]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
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]
fld dword [esi + 0xb8]
fdiv dword [0x4bf798]
add esp, 0xfffffffc
fstp dword [esp]
wait
fld dword [esi + 0xbc]
fdiv dword [0x4bf798]
add esp, 0xfffffffc
fstp dword [esp]
wait
lea eax, [ebp - 0x78]
call fcn.0049b810
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.0049b810
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.0049b810
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.004b8e94
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 0x4bf791
lea eax, [ebp - 0x5c]
mov edx, dword [0x49af4c]
mov ecx, 2
call fcn.0040578c
ret