Function at 0x48cf30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48d431
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4ab6ac
call fcn.00404984
mov eax, esi
call fcn.0048d498
mov edi, eax
dec edi
test edi, edi
jl 0x48d0f4
inc edi
xor ebx, ebx
test ebx, ebx
jle 0x48cf92
mov eax, 0x4ab6ac
mov edx, 0x48d44c
call fcn.00404c68
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov edx, dword [eax + 0x10]
mov eax, 0x4ab6ac
call fcn.00404c68
mov eax, dword [0x4a7950]
cmp byte [eax], 1
jne 0x48d0ec
test ebx, ebx
jle 0x48d0d7
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov ecx, 1
xor edx, edx
call fcn.0047077c
cmp dword [ebp - 0x34], 0
je 0x48d000
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov edx, dword [eax + 0x24c]
inc edx
mov ecx, dword [0x4a7cc0]
call fcn.0046f470
lea edx, [ebp - 0x38]
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov eax, dword [eax + 0x24c]
dec eax
call fcn.004092e4
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
xor edx, edx
call fcn.004707ec
xor edx, edx
mov eax, esi
call fcn.0048d478
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov edx, 1
call fcn.004707ec
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov edx, 2
call fcn.004707ec
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov edx, dword [eax + 0x24c]
dec edx
mov ecx, dword [0x4a7cc0]
call fcn.0046f458
mov eax, dword [0x4a7cc0]
mov eax, dword [eax]
mov eax, dword [eax + 0x314]
mov edx, dword [eax]
call dword [edx + 0x80]
inc ebx
dec edi
jne 0x48cf7f
mov eax, 0x4ab6ac
mov edx, 0x48d458
call fcn.00404c68
mov eax, dword [0x4a7de0]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x1a], ax
xor eax, eax
push ebp
push 0x48d3f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a7de0]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00459378
mov eax, dword [esi + 8]
push eax
mov al, byte [esi + 0xc]
push eax
mov ecx, dword [esi + 4]
mov dl, 1
mov eax, dword [0x46639c]
call fcn.0046659c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48d3d4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48d3b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [0x4ab6ac]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00466638
mov byte [ebp - 1], al
lea eax, [ebp - 0x10]
call fcn.00404984
mov ebx, 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48d1b0
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004043c0
call fcn.004043c0
jmp 0x48d400
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041f34c
lea edx, [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48d3a6
cmp byte [ebp - 0x11], 4
jne 0x48d2f4
cmp dword [ebp - 0x10], 0
je 0x48d2a1
lea eax, [ebp - 0x3c]
push eax
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x40]
call fcn.0040909c
mov eax, dword [ebp - 0x40]
mov ecx, 6
mov edx, 1
call fcn.00404ec0
mov eax, dword [ebp - 0x3c]
mov edx, 0x48d464
call fcn.00408f14
test eax, eax
jne 0x48d275
lea eax, [ebp - 0x10]
mov edx, 0x48d474
call fcn.00404c68
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [esi]
mov edx, dword [ebp - 0x10]
call fcn.0048d4a4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x48d2b4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax]
call fcn.00409420
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffff9d
jne 0x48d2b4
mov byte [ebp - 1], 0
jmp 0x48d2b4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [esi]
mov edx, dword [ebp - 0x10]
call fcn.0048d4a4
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffff9d
jne 0x48d2b4
mov byte [ebp - 1], 0
jmp 0x48d2b4
lea eax, [ebp - 0x20]
mov edx, dword [0x48cbf8]
call fcn.00405eec
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov edx, dword [ebp - 0x20]
call fcn.0048cd28
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov edx, dword [ebp - 0x24]
call fcn.0048cd10
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov edx, dword [ebp - 0x28]
call fcn.0048cd0c
lea eax, [ebp - 0x10]
call fcn.00404984
jmp 0x48d3a6
cmp byte [ebp - 0x11], 0x1d
jne 0x48d38b
cmp dword [ebp - 0x10], 0
je 0x48d337
lea eax, [ebp - 0x10]
mov edx, 0x48d474
call fcn.00404c68
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [esi]
mov edx, dword [ebp - 0x10]
call fcn.0048d4a4
jmp 0x48d34a
lea eax, [ebp - 0x20]
mov edx, dword [0x48cbf8]
call fcn.00405eec
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov edx, dword [ebp - 0x20]
call fcn.0048cd28
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov edx, dword [ebp - 0x24]
call fcn.0048cd10
mov edx, ebx
mov eax, esi
call fcn.0048d478
mov edx, dword [ebp - 0x28]
call fcn.0048cd0c
lea eax, [ebp - 0x10]
call fcn.00404984
inc ebx
jmp 0x48d1bc
lea eax, [ebp - 0x44]
mov dl, byte [ebp - 0x11]
call fcn.00404b6c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x10]
call fcn.00404c68
jmp 0x48d1bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d3be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d3db
mov eax, dword [ebp - 8]
call fcn.00403b74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d438
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.004049a8
lea eax, [ebp - 0x20]
mov edx, dword [0x48cbf8]
call fcn.00405eec
lea eax, [ebp - 0x10]
call fcn.00404984
ret