Function at 0x48af38
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 0x48b293
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x18]
call fcn.00491a74
mov eax, dword [0x4cdc84]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00460990
cmp byte [ebp - 1], 0
jne 0x48af91
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 [0x482e8c]
call fcn.00483110
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x48b26e
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.00481ebc
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00481f34
mov edx, dword [ebp - 0x20]
call fcn.00481c24
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00481f34
mov edx, dword [ebp - 0x24]
call fcn.00481c0c
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.00481f34
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00481f34
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 0x48b0b8
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00481f34
mov byte [eax + 0x60], 1
jmp 0x48b0cc
cmp byte [ebp - 0x15], 0
jne 0x48b0cc
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00481f34
mov byte [eax + 0x60], 0
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00481f34
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.00481f34
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 0x48b153
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 [0x481280]
call fcn.00481504
mov esi, eax
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00481664
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00481f34
call fcn.0048194c
mov edx, esi
call fcn.00481c7c
dec dword [ebp - 0x38]
jne 0x48b119
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 [0x487edc]
call fcn.00403b2c
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x48b243
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x48b22d
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
push 0x48b2ac
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
inc eax
call fcn.0040b43c
push dword [ebp - 0x84]
push 0x48b2b8
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00404ca4
mov edx, dword [ebp - 0x80]
mov eax, dword [ebx + 0x18]
call fcn.00491cd4
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 0x48b221
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.00491aa8
push eax
push 0
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.0048a43c
inc dword [ebp - 0xc]
dec esi
jne 0x48b1ee
inc dword [ebp - 8]
dec dword [ebp - 0x38]
jne 0x48b197
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b24a
mov eax, dword [ebp - 0x30]
call fcn.00403b5c
ret