Function at 0x4b05f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4b05fc
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4b0a0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 4]
call fcn.00406cd8
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2c]
push eax
lea eax, [ebp - 0x18]
call fcn.00406cd8
push eax
lea eax, [ebp - 0x1c]
call fcn.00406cd8
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406de8
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x74]
call fcn.00406de8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00406de8
cmp dword [ebp - 4], 0
je 0x4b09a0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00406de8
cmp dword [ebp - 0x20], 2
je 0x4b09a0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x90]
call fcn.00406de8
mov eax, dword [ebp - 0x20]
sub eax, 1
jb 0x4b06b5
je 0x4b078d
jmp 0x4b09a0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.00406cd8
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1f0]
call fcn.00406de8
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406de8
cmp dword [ebp - 0x20], 1
jne 0x4b0730
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1d4]
call fcn.00406de8
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004b05d8
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4b842c]
mov eax, dword [eax]
call fcn.00463d48
mov ebx, eax
jmp 0x4b09a0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.00406cd8
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1f0]
call fcn.00406de8
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00406de8
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004b05d8
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4b842c]
mov eax, dword [eax]
call fcn.00463d48
mov ebx, eax
jmp 0x4b09a0
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
call fcn.00406cd8
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1f0]
call fcn.00406de8
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00406de8
cmp dword [ebp - 0x20], 1
jne 0x4b08ad
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
call fcn.00406cd8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00406de8
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406de8
mov edi, dword [ebp - 0x20]
dec edi
test edi, edi
jl 0x4b09a0
inc edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
call fcn.00406cd8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00406de8
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406de8
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
mov eax, dword [0x4b842c]
mov eax, dword [eax]
call fcn.00463dc4
fstp qword [ebp - 0x2c]
wait
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1d4]
call fcn.00406de8
fld qword [ebp - 0x44]
fadd qword [ebp - 0x2c]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004b05d8
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4b842c]
mov eax, dword [eax]
call fcn.00463d48
mov ebx, eax
test bl, bl
jne 0x4b09a0
inc dword [ebp - 0x14]
dec edi
jne 0x4b0808
jmp 0x4b09a0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
call fcn.00406cd8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00406de8
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406de8
mov edi, dword [ebp - 0x20]
dec edi
test edi, edi
jl 0x4b09a0
inc edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
call fcn.00406cd8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x98]
call fcn.00406de8
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406de8
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
mov eax, dword [0x4b842c]
mov eax, dword [eax]
call fcn.00463dc4
fstp qword [ebp - 0x2c]
wait
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
call fcn.00406cd8
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1f0]
call fcn.00406de8
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00406de8
fld qword [ebp - 0x44]
fadd qword [ebp - 0x2c]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004b05d8
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x4b842c]
mov eax, dword [eax]
call fcn.00463d48
mov ebx, eax
test bl, bl
jne 0x4b09a0
inc dword [ebp - 0x14]
dec edi
jne 0x4b08ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0a16
lea eax, [ebp - 0x50]
call fcn.00406cd8
lea eax, [ebp - 0x4c]
mov edx, dword [0x430640]
mov ecx, 2
call fcn.00405ca0
lea eax, [ebp - 0x3c]
mov edx, dword [0x430640]
mov ecx, 2
call fcn.00405ca0
lea eax, [ebp - 0x34]
mov edx, dword [0x430598]
mov ecx, 2
call fcn.00405ca0
lea eax, [ebp - 0x24]
call fcn.00406cd8
lea eax, [ebp - 0x1c]
call fcn.00406cd8
lea eax, [ebp - 0x18]
call fcn.00406cd8
lea eax, [ebp - 4]
call fcn.00406cd8
ret