Function at 0x510a24
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x510c98
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xc], 1
lea edx, [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x44978c]
call fcn.0044983c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x510c6b
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebx + 0x14]
push dword [ebx + 0x10]
mov ecx, 0x510cb0
mov edx, 0x510cc8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x38]
mov eax, dword [ebx + 0x40]
push eax
mov edx, 0x510cc8
mov ecx, 0x510cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
push 0
lea eax, [ebp - 0xc]
push eax
mov edx, 0x510cc8
mov ecx, 0x510ce8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x18]
call fcn.004047a4
mov eax, dword [ebx + 0x1c]
push eax
mov edx, 0x510cc8
mov ecx, 0x510cfc
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
mov edx, dword [ebx + 0x1c]
mov eax, ebx
call fcn.00510e08
mov eax, dword [ebx + 0x3c]
push eax
mov edx, 0x510cc8
mov ecx, 0x510d0c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 4]
push dword [ebx + 0x34]
push dword [ebx + 0x30]
mov edx, 0x510cc8
mov ecx, 0x510d18
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x38]
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
mov edx, 0x510cc8
mov ecx, 0x510d24
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x38]
mov eax, dword [0x516a58]
mov eax, dword [eax]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0xc8]
push eax
mov edx, 0x510cc8
mov ecx, 0x510d30
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [0x516a58]
mov eax, dword [eax]
mov eax, dword [eax + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc8]
push eax
mov edx, 0x510cc8
mov ecx, 0x510d40
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [0x516a58]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
mov edx, dword [eax]
call dword [edx + 0xc8]
push eax
mov edx, 0x510cc8
mov ecx, 0x510d58
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov al, byte [ebx + 0x50]
push eax
mov edx, 0x510cc8
mov ecx, 0x510d74
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov al, byte [ebx + 0x51]
push eax
mov edx, 0x510cc8
mov ecx, 0x510d84
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov al, byte [ebx + 0x52]
push eax
mov edx, 0x510cc8
mov ecx, 0x510d94
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov al, byte [ebx + 0x53]
push eax
mov edx, 0x510cc8
mov ecx, 0x510da4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov al, byte [ebx + 0x54]
push eax
mov edx, 0x510cc8
mov ecx, 0x510db4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov al, byte [ebx + 0x28]
push eax
mov edx, 0x510cc8
mov ecx, 0x510dc4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [ebx + 0x58]
push eax
mov ecx, 0x510dd0
mov edx, 0x510de0
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x5c]
push eax
mov ecx, 0x510df0
mov edx, 0x510de0
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x60]
push eax
mov ecx, 0x510e00
mov edx, 0x510de0
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x510c75
mov eax, dword [ebp - 4]
call fcn.004038c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510c9f
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404774
ret