Function at 0x52ec9a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x633dd7
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x652018]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
cmp byte [ebx + 0x4f], 0
jne 0x52ed2b
cmp byte [ebx + 0x4e], 0
jne 0x52ed2b
lea ecx, [esp + 0x1c]
call dword [0x660330]
mov dword [esp + 0x168], 0
mov dword [esp + 0x1c], 0x40cc48
mov dword [esp + 0x28], 0x40bbf0
mov dword [esp + 0x168], 0xffffffff
lea eax, [esp + 0x1c]
push 0x651bb0
push eax
call 0x5a4c90
mov ecx, dword [ebx + 0x20]
push 0xd4
mov ecx, dword [ecx + 4]
call 0x3bcd9a
mov dword [esp + 0x18], eax
and byte [eax + 1], 0xfe
mov byte [eax], 0xa
mov edx, dword [ebx + 0x1c]
mov ecx, dword [edx]
push dword [ecx + 0x10]
lea ecx, [edx + 0x6bc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402cea
mov edi, dword [esp + 0x1c]
mov edx, 0x42ba7c
mov eax, dword [ebx + 0x14]
dec edi
neg edi
push 2
sbb edi, edi
mov ecx, dword [eax + 0xc]
not edi
and edi, dword [esp + 0x24]
call fcn.00414e8a
mov ecx, dword [ebx + 0x14]
mov edx, 0x42ba88
push 0x42
mov esi, eax
mov ecx, dword [ecx + 0xc]
call fcn.00414e8a
push edi
push esi
push 0
push 0x20301
push 0
push eax
push dword [esp + 0x30]
mov ecx, ebx
call fcn.0052e81a
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
push dword [eax + 0x10]
lea eax, [ecx + 0x6bc]
push eax
lea ecx, [esp + 0x24]
call fcn.00402cea
cmp dword [esp + 0x1c], 1
jne 0x52edf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x52edf2
cmp byte [esi], 0x29
jne 0x52edf2
mov ecx, dword [esi + 0x50]
call 0x3dc92a
mov ecx, eax
call 0x3c4d7a
mov ecx, eax
call 0x3c4cda
mov esi, eax
jmp 0x52edf2
xor esi, esi
mov eax, dword [ebx + 0x14]
mov edx, 0x42bb10
push 0xf
mov ecx, dword [eax + 0xc]
call fcn.00414e8a
push eax
push ecx
mov ecx, esi
call 0x3da45a
mov ebx, eax
mov edx, 0x42bb10
mov eax, dword [esp + 0x14]
push 0xf
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx + 0xc]
call fcn.00414e8a
mov edi, eax
mov eax, dword [esp + 0x14]
push 0x18
mov ecx, dword [eax + 0x20]
mov esi, dword [eax + 0x54]
mov ecx, dword [ecx + 4]
call 0x3bcd9a
push ecx
lea ecx, [esp + 0x30]
and byte [eax + 1], 0xfe
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x1c]
mov byte [eax], 0x19
mov dword [eax + 0xc], esi
mov dword [eax + 8], edi
mov dword [eax + 4], 0
mov dword [eax + 0x14], 0
mov dword [ebx + 0x64], eax
call fcn.0041539a
mov dword [esp + 0x168], 7
lea ecx, [esp + 0x2c]
push 0x42
push 0x42bb30
call fcn.00415b2a
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
mov esi, dword [esp + 0x34]
shr esi, 1
mov eax, dword [eax + 0x20]
push dword [eax + 4]
call fcn.00415baa
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], esi
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x424634
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], 0x42461c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x120]
mov dword [esp + ecx + 0x2c], eax
lea ecx, [esp + 0x2c]
call fcn.0041556a
mov dword [esp + 0x150], 0x41b854
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call 0x59f19b
mov esp, ebp
pop ebp
ret