Function at 0x48559c
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 0x4858f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x18]
call fcn.0048c178
mov eax, dword [0x4a6d60]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00458930
cmp byte [ebp - 1], 0
jne 0x4855f5
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 [0x47d498]
call fcn.0047d71c
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4858d2
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.0047ba10
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0047ba88
mov edx, dword [ebp - 0x20]
call fcn.0047b778
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0047ba88
mov edx, dword [ebp - 0x24]
call fcn.0047b760
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.0047ba88
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0047ba88
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 0x48571c
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0047ba88
mov byte [eax + 0x60], 1
jmp 0x485730
cmp byte [ebp - 0x15], 0
jne 0x485730
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0047ba88
mov byte [eax + 0x60], 0
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0047ba88
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.0047ba88
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 0x4857b7
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 [0x47add4]
call fcn.0047b058
mov esi, eax
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0047b1b8
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0047ba88
call fcn.0047b4a0
mov edx, esi
call fcn.0047b7d0
dec dword [ebp - 0x38]
jne 0x48577d
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 [0x482544]
call fcn.00403730
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x4858a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x485891
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
push 0x485910
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
inc eax
call fcn.00408ab8
push dword [ebp - 0x84]
push 0x48591c
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.0040488c
mov edx, dword [ebp - 0x80]
mov eax, dword [ebx + 0x18]
call fcn.0048c3d8
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 0x485885
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.0048c1ac
push eax
push 0
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.00484aa4
inc dword [ebp - 0xc]
dec esi
jne 0x485852
inc dword [ebp - 8]
dec dword [ebp - 0x38]
jne 0x4857fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4858ae
mov eax, dword [ebp - 0x30]
call fcn.00403760
ret