Function at 0x53cca4
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 0x53cfe8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.004047e0
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.00570a30
mov edx, edi
call fcn.005567cc
mov al, byte [eax + 0x30]
dec al
je 0x53cd02
sub al, 2
je 0x53cfa5
jmp 0x53cfca
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.00570a30
mov edx, edi
call fcn.005567cc
cmp dword [eax + 0x20], 0
je 0x53cd44
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.00570a30
mov edx, edi
call fcn.005567cc
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebx + 8]
call fcn.0055d27c
mov eax, dword [eax + 0x30]
pop edx
call fcn.004baeb8
mov dword [ebp - 8], eax
jmp 0x53cd66
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.00570a30
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebx + 8]
call fcn.0055d27c
mov eax, dword [eax + 0x30]
pop edx
call fcn.004baeb8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x53cfca
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.00416300
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x40]
cmp eax, 8
jg 0x53cdb1
je 0x53ce2d
add eax, 0xfffffffe
sub eax, 3
jb 0x53cdc4
dec eax
sub eax, 2
jb 0x53cf27
jmp 0x53cfca
sub eax, 0xe
je 0x53cdc4
sub eax, 0x17
je 0x53ceaa
jmp 0x53cfca
mov eax, dword [ebp - 8]
mov edx, dword [0x4a90d4]
call fcn.00403b1c
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xe0]
call fcn.00404878
cmp dword [ebp - 4], 0
jne 0x53ce0e
lea eax, [ebp - 0x18]
call fcn.004128e8
lea edx, [ebp - 0x118]
call fcn.00403214
lea edx, [ebp - 0x118]
mov eax, dword [ebp + 8]
call fcn.00404a54
jmp 0x53cfca
lea eax, [ebp - 0x18]
call fcn.00414238
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b604
jmp 0x53cfca
mov eax, dword [ebp - 8]
mov edx, dword [0x4aa7c8]
call fcn.00403b1c
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xe0]
call fcn.00404878
cmp dword [ebp - 4], 0
jne 0x53ce8b
cmp byte [ebx + 0xe8], 0
je 0x53ce67
mov bl, 4
mov esi, dword [0x6f10a0]
movzx esi, byte [esi]
jmp 0x53ce6b
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x18]
call fcn.00414b94
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ecx, dword [ebp + 8]
mov edx, esi
mov eax, ebx
call fcn.0040b5cc
jmp 0x53cfca
lea eax, [ebp - 0x18]
call fcn.00414b94
add esp, 0xfffffff8
fistp qword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b65c
jmp 0x53cfca
mov eax, dword [ebp - 8]
mov edx, dword [0x4aa9cc]
call fcn.00403b1c
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0xe0]
call fcn.00404878
cmp dword [ebp - 4], 0
jne 0x53cf08
cmp byte [ebx + 0xe8], 0
je 0x53cee4
mov bl, 4
mov esi, dword [0x6f10a0]
movzx esi, byte [esi]
jmp 0x53cee8
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x18]
call fcn.00414b94
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ecx, dword [ebp + 8]
mov edx, esi
mov eax, ebx
call fcn.0040b5cc
jmp 0x53cfca
lea eax, [ebp - 0x18]
call fcn.00414b94
add esp, 0xfffffff8
fistp qword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b65c
jmp 0x53cfca
mov eax, dword [ebp - 8]
mov edx, dword [0x4a9838]
call fcn.00403b1c
mov edi, eax
lea eax, [ebp - 4]
mov edx, dword [edi + 0xe0]
call fcn.00404878
cmp dword [ebp - 4], 0
jne 0x53cf89
cmp byte [edi + 0xe8], 0
je 0x53cf61
mov bl, 4
mov esi, dword [0x6f10a0]
movzx esi, byte [esi]
jmp 0x53cf65
xor ebx, ebx
xor esi, esi
lea eax, [ebp - 0x18]
call fcn.00414238
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.0040b594
jmp 0x53cfca
lea eax, [ebp - 0x18]
call fcn.00414238
add esp, 0xfffffff4
fstp xword [esp]
wait
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040b604
jmp 0x53cfca
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 [0x53cff8]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [ebp + 8]
call fcn.0040b534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53cfef
lea eax, [ebp - 0x18]
call fcn.00411bc8
lea eax, [ebp - 4]
call fcn.004047e0
ret