Function at 0x4c0cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c0ff4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.004047d0
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.004f3578
mov edx, edi
call fcn.004da424
mov al, byte [eax + 0x30]
dec al
je 0x4c0d0e
sub al, 2
je 0x4c0fb1
jmp 0x4c0fd6
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.004f3578
mov edx, edi
call fcn.004da424
cmp dword [eax + 0x20], 0
je 0x4c0d50
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.004f3578
mov edx, edi
call fcn.004da424
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebx + 8]
call fcn.004e0f18
mov eax, dword [eax + 0x30]
pop edx
call fcn.0048b6d0
mov dword [ebp - 8], eax
jmp 0x4c0d72
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.004f3578
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebx + 8]
call fcn.004e0f18
mov eax, dword [eax + 0x30]
pop edx
call fcn.0048b6d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c0fd6
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
imul edi
add esi, eax
mov eax, dword [ebx + 0x14]
fild qword [eax + esi*8]
lea eax, [ebp - 0x18]
call fcn.00415b38
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x40]
cmp eax, 8
jg 0x4c0dbd
je 0x4c0e39
add eax, 0xfffffffe
sub eax, 3
jb 0x4c0dd0
dec eax
sub eax, 2
jb 0x4c0f33
jmp 0x4c0fd6
sub eax, 0xe
je 0x4c0dd0
sub eax, 0x17
je 0x4c0eb6
jmp 0x4c0fd6
mov eax, dword [ebp - 8]
mov edx, dword [0x47a8cc]
call fcn.00403a6c
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xe0]
call fcn.00404868
cmp dword [ebp - 4], 0
jne 0x4c0e1a
lea eax, [ebp - 0x18]
call fcn.00412110
lea edx, [ebp - 0x118]
call fcn.004032c0
lea edx, [ebp - 0x118]
mov eax, dword [ebp + 8]
call fcn.00404a34
jmp 0x4c0fd6
lea eax, [ebp - 0x18]
call fcn.00413a60
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b320
jmp 0x4c0fd6
mov eax, dword [ebp - 8]
mov edx, dword [0x47bfc0]
call fcn.00403a6c
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xe0]
call fcn.00404868
cmp dword [ebp - 4], 0
jne 0x4c0e97
cmp byte [ebx + 0xe8], 0
je 0x4c0e73
mov bl, 4
mov esi, dword [0x5bf474]
movzx esi, byte [esi]
jmp 0x4c0e77
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x18]
call fcn.004143bc
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ecx, dword [ebp + 8]
mov edx, esi
mov eax, ebx
call fcn.0040b2e8
jmp 0x4c0fd6
lea eax, [ebp - 0x18]
call fcn.004143bc
add esp, 0xfffffff8
fistp qword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b378
jmp 0x4c0fd6
mov eax, dword [ebp - 8]
mov edx, dword [0x47c1c4]
call fcn.00403a6c
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xe0]
call fcn.00404868
cmp dword [ebp - 4], 0
jne 0x4c0f14
cmp byte [ebx + 0xe8], 0
je 0x4c0ef0
mov bl, 4
mov esi, dword [0x5bf474]
movzx esi, byte [esi]
jmp 0x4c0ef4
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x18]
call fcn.004143bc
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ecx, dword [ebp + 8]
mov edx, esi
mov eax, ebx
call fcn.0040b2e8
jmp 0x4c0fd6
lea eax, [ebp - 0x18]
call fcn.004143bc
add esp, 0xfffffff8
fistp qword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b378
jmp 0x4c0fd6
mov eax, dword [ebp - 8]
mov edx, dword [0x47b030]
call fcn.00403a6c
mov edi, eax
lea eax, [ebp - 4]
mov edx, dword [edi + 0xe0]
call fcn.00404868
cmp dword [ebp - 4], 0
jne 0x4c0f95
cmp byte [edi + 0xe8], 0
je 0x4c0f6d
mov bl, 4
mov esi, dword [0x5bf474]
movzx esi, byte [esi]
jmp 0x4c0f71
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x18]
call fcn.00413a60
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [ebp + 8]
push eax
mov edx, dword [edi + 0xec]
mov ecx, esi
mov eax, ebx
call fcn.0040b2b0
jmp 0x4c0fd6
lea eax, [ebp - 0x18]
call fcn.00413a60
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b320
jmp 0x4c0fd6
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
imul edi
add esi, eax
mov eax, dword [ebx + 0x14]
fild qword [eax + esi*8]
fdiv dword [0x4c1004]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [ebp + 8]
call fcn.0040b250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0ffb
lea eax, [ebp - 0x18]
call fcn.004113f0
lea eax, [ebp - 4]
call fcn.004047d0
ret