Function at 0x4b6d88
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b70e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x18]
call fcn.004bd8c4
mov eax, dword [0x4d47ac]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0048c920
cmp byte [ebp - 1], 0
jne 0x4b6de1
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, esi
mov dl, 1
mov eax, dword [0x4aed4c]
call fcn.004aefd0
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4b70be
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x24]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
call fcn.004addb4
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov edx, dword [ebp - 0x20]
call fcn.004adb1c
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov edx, dword [ebp - 0x24]
call fcn.004adb04
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 8], eax
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebx + 4], eax
lea edx, [ebp - 0x7c]
mov ecx, 0x10
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edi, [ebx + 0x20]
lea esi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x28]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x2c]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x30], edx
lea edx, [ebp - 0x15]
mov ecx, 1
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp byte [ebp - 0x15], 1
jne 0x4b6f08
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov byte [eax + 0x60], 1
jmp 0x4b6f1c
cmp byte [ebp - 0x15], 0
jne 0x4b6f1c
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov byte [eax + 0x60], 0
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov dword [eax + 0x28], 0x808080
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
lea edx, [ebp - 0x44]
mov ecx, 0xc
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x4b6fa3
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x4ad178]
call fcn.004ad3fc
mov esi, eax
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.004ad55c
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.004ade2c
call fcn.004ad844
mov edx, esi
call fcn.004adb74
dec dword [ebp - 0x38]
jne 0x4b6f69
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov dl, 1
mov eax, dword [0x4b3da8]
call fcn.00403d64
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x4b7093
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4b707d
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
push 0x4b70fc
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
inc eax
call fcn.00409684
push dword [ebp - 0x84]
push 0x4b7108
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00405024
mov edx, dword [ebp - 0x80]
mov eax, dword [ebx + 0x18]
call fcn.004bdb24
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov esi, dword [ebp - 0x14]
dec esi
test esi, esi
jl 0x4b7071
inc esi
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x6c]
mov ecx, 0x28
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x18]
call fcn.004bd8f8
push eax
push 0
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.004b62a0
inc dword [ebp - 0xc]
dec esi
jne 0x4b703e
inc dword [ebp - 8]
dec dword [ebp - 0x38]
jne 0x4b6fe7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b709a
mov eax, dword [ebp - 0x30]
call fcn.00403d94
ret