Function at 0x52cce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
mov esi, esp
mov dword [esi + 0x120], ebp
lea edi, [esi + 0x128]
mov dword [edi - 4], esp
xor eax, eax
dec eax
mov dword [edi + 8], eax
mov dword [edi + 4], 0x439020
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
lea ecx, [esi + 0x26]
mov word [ecx], ax
lea edx, [esi + 0x24]
mov word [edx], ax
lea ebx, [esi + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x40]
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
push edx
push ecx
push eax
push dword [ebp + 0x14]
push ebx
call fcn.0052daa0
add esp, 0x14
xor eax, eax
lea ecx, [esi + 0xc]
mov dword [ecx + 8], eax
pxor xmm0, xmm0
movq qword [ecx], xmm0
mov dword [edi + 8], eax
push eax
push 0xa
call fcn.004a5210
cmp byte [esi + 0x17], 0
lea eax, [esi + 0xc]
jns 0x52cd84
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x1c]
mov dword [esi + 4], eax
mov dword [ecx], eax
lea edi, [esi + 0x80]
push 0xa0
push 0xff
push edi
call fcn.004f9090
add esp, 0xc
lea eax, [esi + 0x18]
mov dword [eax], edi
lea eax, [esi + 0x28]
mov dword [eax], 0
lea eax, [esi + 3]
mov byte [eax], 1
lea eax, [esi + 0xb]
mov byte [eax], 0x45
jmp 0x52cdc7
add eax, 2
mov dword [edi + 0xc], eax
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00525490
test al, al
jne 0x52cf03
movsx ecx, byte [esi + 0x17]
test ecx, ecx
jns 0x52cde6
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 4]
lea eax, [ebx + ecx]
cmp dword [esi + 0x1c], eax
jne 0x52ce38
mov dword [esi + 4], ecx
lea eax, [ecx + ecx]
lea ecx, [esi + 0xc]
push 0
push eax
call fcn.004a5210
mov eax, dword [esi + 0x14]
mov ecx, SysReAllocString
and eax, ecx
dec eax
cmp byte [esi + 0x17], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0xc]
push 0
push eax
call fcn.004a5210
cmp byte [esi + 0x17], 0
lea ebx, [esi + 0xc]
jns 0x52ce30
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esi + 0x1c], eax
movzx ecx, word [esi + 0x24]
movzx edx, word [esi + 0x26]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [esi + 4], ebx
je 0x52cec6
movzx eax, word [eax]
movzx ecx, cx
movzx edx, dx
movzx eax, ax
lea edi, [esi + 0x40]
push edi
lea edi, [esi + 0x28]
push edi
lea edi, [esi + 0x18]
push edi
lea edi, [esi + 0x80]
push edi
lea edi, [esi + 0x2c]
push edi
push ecx
push edx
lea ecx, [esi + 0x1c]
push ecx
push ebx
lea ecx, [esi + 0xb]
push ecx
lea ecx, [esi + 3]
push ecx
push eax
call fcn.0052dc30
add esp, 0x30
test eax, eax
jne 0x52cf03
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
jne 0x52cdc1
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0x130], 0xffffffff
mov ecx, ebx
call dword [0x5c0d2c]
mov dword [esi + 0x130], 0
mov ecx, edi
call ebx
jmp 0x52cdc7
mov word [esi + 0x20], dx
mov word [esi + 0x22], cx
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0x130], 0xffffffff
mov ecx, ebx
call dword [0x5c0d2c]
mov dword [esi + 0x130], 0
mov ecx, edi
call ebx
mov ebx, dword [esi + 4]
movzx ecx, word [esi + 0x22]
movzx edx, word [esi + 0x20]
jmp 0x52ce51
mov edi, dword [esi + 4]
movsx eax, byte [esi + 0x37]
test eax, eax
jns 0x52cf11
mov eax, dword [esi + 0x30]
test eax, eax
je 0x52cf3b
cmp byte [esi + 3], 1
jne 0x52cf3b
mov eax, dword [esi + 0x18]
mov ecx, eax
lea edx, [esi + 0x80]
sub ecx, edx
cmp ecx, 0x9f
jg 0x52cf3b
mov ecx, dword [esi + 0x28]
lea edx, [eax + 4]
mov dword [esi + 0x18], edx
mov dword [eax], ecx
push dword [ebp + 0x18]
push dword [esi + 0x1c]
push edi
call fcn.00438df0
add esp, 0xc
fstp qword [esi + 0x38]
movq xmm0, qword [esi + 0x38]
mov eax, dword [ebp + 0x1c]
movq qword [eax], xmm0
push dword [ebp + 0x18]
push dword [esi + 0x18]
lea eax, [esi + 0x80]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.005342a0
add esp, 0x10
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00525490
test al, al
je 0x52cf88
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x17], 0
jns 0x52cfa1
push dword [esi + 0xc]
call fcn.004f50ae
add esp, 4
cmp byte [esi + 0x37], 0
jns 0x52cfb2
push dword [esi + 0x2c]
call fcn.004f50ae
add esp, 4
mov eax, dword [esi + 0x128]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18