Function at 0x4dccc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd1ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x75], 0
jne 0x4dcd94
push 0
mov eax, dword [ebp - 4]
add eax, 0x80
mov ecx, 1
mov edx, dword [0x4dadbc]
call fcn.00405fe8
add esp, 4
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov dl, 1
mov eax, dword [0x421a48]
call fcn.00423250
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004289e8
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 8]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.004dccc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004289e8
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x10]
call fcn.0040ec2c
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x75], bl
jne 0x4dcdb1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x75], 0
jne 0x4dd18b
test bl, bl
jne 0x4dd18b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004289e8
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
call fcn.00423424
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
call fcn.004dd274
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
add eax, 0x6c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [0x4dad48]
call fcn.00406030
push 0
mov eax, dword [ebp - 4]
add eax, 0x6c
mov ecx, 1
mov edx, dword [0x4dad48]
call fcn.00405fe8
add esp, 4
xor ecx, ecx
push ebp
push 0x4dd170
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 1
mov eax, dword [ebp - 4]
call fcn.004dd5a0
jmp 0x4dd0af
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
mov dl, byte [edx + eax - 1]
sub dl, 0xd
je 0x4dcf32
sub dl, 0x13
je 0x4dd09a
sub dl, 6
je 0x4dcea2
sub dl, 0x16
je 0x4dcf94
jmp 0x4dd0a9
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4dceb8
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004dd950
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
call fcn.004dc980
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404b90
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4dcf0f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404dfc
mov edx, dword [ebp - 4]
add dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
dec dword [eax + 0x48]
jmp 0x4dd0a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
cmp byte [edx + eax], 0x26
sete dl
and edx, 0x7f
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], edx
jmp 0x4dd0a9
cmp byte [0x5491c4], 0
je 0x4dcf72
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4dcf51
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004dd950
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.004dd4e8
mov eax, dword [ebp - 4]
call fcn.004dd32c
jmp 0x4dd0a9
push ebp
call fcn.004dcb94
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0x48], 2
mov eax, dword [ebp - 4]
add dword [eax + 0x4c], 2
mov eax, dword [ebp - 4]
call fcn.004dd5a0
jmp 0x4dd0af
push ebp
call fcn.004dcb94
pop ecx
test al, al
jne 0x4dd0af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
cmp byte [edx + eax], 0x3c
je 0x4dd070
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4dcfcf
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004dd950
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004dae88
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00404b90
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4dd011
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4dd0af
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.004db734
test al, al
je 0x4dd048
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404dfc
mov edx, dword [ebp - 4]
add dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4dd0af
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.004dd950
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4dd0a9
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp eax, edx
jle 0x4dd086
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004dd950
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
jmp 0x4dd0a9
push ebp
call fcn.004dcb94
pop ecx
mov eax, dword [ebp - 4]
call fcn.004dd5a0
mov eax, dword [ebp - 4]
inc dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1c]
jle 0x4dce73
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x4c]
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0040505c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
cmp edx, eax
jge 0x4dd0fc
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004dd950
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
call fcn.004db374
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
jle 0x4dd128
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd177
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
call fcn.00528f90
mov eax, dword [ebp - 4]
mov byte [eax + 0x75], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd1b5
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404b60
lea eax, [ebp - 0xc]
call fcn.00404b3c
ret