Function at 0x4ed950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7877f7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x851070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00405e00
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 4
mov dword [edi + 0x38], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x58]
mov byte [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov byte [edi + 0x48], 0
mov byte [edi + 0x54], 1
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00445af0
mov dword [esi], eax
mov byte [ebp - 4], 9
push 0xc8
call fcn.00735c39
mov esi, eax
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
push 0xc8
push 0
push esi
call fcn.00738a30
add esp, 0x10
mov ecx, esi
call fcn.00516f90
mov byte [ebp - 4], 0xb
mov dword [esi], 0x7db0f4
mov dword [esi + 4], 0x7db1d8
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov byte [esi + 0xc4], 0
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x38], esi
test ecx, ecx
je 0x4eda84
mov eax, dword [ecx]
push 1
call dword [eax]
mov ebx, dword [edi]
mov esi, dword [edi + 0x38]
test ebx, ebx
jne 0x4eda94
mov ecx, esi
call fcn.004fd1d0
push 0xc8
mov dword [esi + 0x88], ebx
call fcn.00735c39
mov esi, eax
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
push 0xc8
push 0
push esi
call fcn.00738a30
add esp, 0x10
mov ecx, esi
call fcn.00516f90
mov byte [ebp - 4], 0xd
mov dword [esi], 0x7db0f4
mov dword [esi + 4], 0x7db1d8
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov byte [esi + 0xc4], 0
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], esi
test ecx, ecx
je 0x4edb04
mov eax, dword [ecx]
push 1
call dword [eax]
mov ebx, dword [edi]
mov esi, dword [edi + 0x3c]
test ebx, ebx
jne 0x4edb14
mov ecx, esi
call fcn.004fd1d0
mov dword [esi + 0x88], ebx
push 0x4c
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.00735c39
mov esi, eax
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xe
push 0x4c
push 0
push esi
call fcn.00738a30
add esp, 0x10
mov ecx, esi
call fcn.00500600
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0x30], eax
test ebx, ebx
je 0x4edb8c
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x4edb81
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.00405d30
push 0x18
push esi
call fcn.00735f03
add esp, 8
mov dword [ebx + 0x48], 0
push 0x4c
push ebx
call fcn.00735f03
add esp, 8
push 0x38
call fcn.00735c39
mov esi, eax
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x10
push 0x38
push 0
push esi
call fcn.00738a30
add esp, 0x10
mov ecx, esi
call fcn.004fad80
mov byte [ebp - 4], 9
mov esi, dword [edi + 0x34]
mov dword [edi + 0x34], eax
test esi, esi
je 0x4edbd7
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.0055df90
push 0x38
push esi
call fcn.00735f03
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret