Function at 0x50931c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5095e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00509138
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x41c]
call fcn.0045e8b0
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [ebx + 0x434]
call fcn.004e4284
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [eax + 0x3c]
push dword [eax + 0x38]
mov eax, dword [ebx + 0x43c]
call fcn.004e4284
mov eax, dword [ebx + 0x424]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x44]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x424]
mov eax, dword [eax + 0x270]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor edx, edx
mov eax, dword [ebx + 0x424]
mov ecx, dword [eax]
call dword [ecx + 0xec]
xor edx, edx
mov eax, dword [ebx + 0x424]
mov ecx, dword [eax]
call dword [ecx + 0xe8]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 4]
call fcn.00409b98
mov edx, dword [ebp - 4]
mov eax, 0x5095f8
call fcn.0040f920
test eax, eax
setg dl
mov eax, dword [ebx + 0x44c]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 8]
call fcn.00409b98
mov edx, dword [ebp - 8]
mov eax, 0x509604
call fcn.0040f920
test eax, eax
setg dl
mov eax, dword [ebx + 0x450]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0xc]
call fcn.00409b98
mov edx, dword [ebp - 0xc]
mov eax, 0x509610
call fcn.0040f920
test eax, eax
setg dl
mov eax, dword [ebx + 0x454]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x10]
call fcn.00409b98
mov edx, dword [ebp - 0x10]
mov eax, 0x50961c
call fcn.0040f920
test eax, eax
setg dl
mov eax, dword [ebx + 0x458]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x14]
call fcn.00409b98
mov edx, dword [ebp - 0x14]
mov eax, 0x509628
call fcn.0040f920
test eax, eax
setg dl
mov eax, dword [ebx + 0x45c]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x18]
call fcn.00409b98
mov edx, dword [ebp - 0x18]
mov eax, 0x509634
call fcn.0040f920
test eax, eax
setg dl
mov eax, dword [ebx + 0x460]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
lea edx, [ebp - 0x1c]
call fcn.00409b98
mov edx, dword [ebp - 0x1c]
mov eax, 0x509640
call fcn.0040f920
test eax, eax
setg dl
mov eax, dword [ebx + 0x464]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [ebx + 0x42c]
mov eax, dword [eax + 0x270]
mov edx, dword [eax]
call dword [edx + 0x44]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x42c]
mov eax, dword [eax + 0x270]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor edx, edx
mov eax, dword [ebx + 0x42c]
mov ecx, dword [eax]
call dword [ecx + 0xec]
xor edx, edx
mov eax, dword [ebx + 0x42c]
mov ecx, dword [eax]
call dword [ecx + 0xe8]
xor edx, edx
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x20]
mov eax, ebx
call fcn.00509644
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x444]
call fcn.0045e8b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5095ea
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004052bc
ret