Function at 0x535030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x10]
lea eax, [esi + 0x50]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x53a600
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0x25
mov ecx, dword [edi + 4]
bt ecx, 9
jb 0x5351f0
lea eax, [esi + 0x15]
mov bl, byte [edx]
test bl, bl
je 0x535099
inc edx
mov byte [eax], bl
inc eax
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x53508f
mov edx, ecx
and edx, 0x4a
cmp edx, 8
je 0x5351d7
cmp edx, 0x40
je 0x535263
mov dword [esi + 0x58], 0xffffffff
mov cl, 0x75
mov dword [esi + 4], esp
mov byte [eax], cl
xor ecx, ecx
dec ecx
lea ebx, [esi + 0x20]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov byte [ebx + 0xc], 0xff
push eax
sub esp, 0x18
mov edi, esp
lea eax, [edi + 8]
mov dword [esi + 0x58], ecx
push eax
call fcn.005de060
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0xd
lea eax, [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.0053c2e0
add esp, 0x1c
mov esp, dword [esi + 4]
lea edi, [esi + eax]
add edi, 0x20
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 4]
mov edx, ecx
and dl, 0xb0
mov dword [esi + 4], edi
cmp dl, 0x20
je 0x535133
mov edx, ebx
and ecx, 0xb0
cmp ecx, 0x10
je 0x5351fc
mov ebx, edx
mov edi, edx
mov dword [esi + 0x1c], edi
lea edi, [esi + 0x30]
xor eax, eax
dec eax
mov dword [edi + 0x13], eax
mov dword [edi + 0xf], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
lea ecx, [esi + 0x10]
mov dword [ecx], eax
lea ecx, [esi + 0xc]
mov dword [ecx], eax
lea eax, [esi + 8]
mov ecx, dword [ebp + 0x10]
push eax
call fcn.005dd970
mov dword [esi + 0x58], 0
lea eax, [esi + 8]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
push edi
push dword [esi + 4]
push dword [esi + 0x1c]
push ebx
call fcn.00535f60
add esp, 0x1c
mov ebx, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
mov dl, byte [ebp + 0x14]
test eax, eax
je 0x535241
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], 0xffffffff
movsx edx, dl
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
push edi
call fcn.0067ff80
add esp, 0x1c
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
bt ecx, 0xe
setae cl
shl cl, 5
or cl, 0x58
mov dword [esi + 0x58], 0xffffffff
jmp 0x5350b9
lea eax, [esi + 0x16]
mov byte [eax - 1], 0x23
jmp 0x535088
lea ecx, [esi + 0x21]
mov edi, ecx
movzx ecx, byte [ecx - 1]
cmp ecx, 0x2b
je 0x53523a
cmp ecx, 0x2d
mov ebx, edx
je 0x535133
cmp eax, 2
jl 0x53512f
cmp cl, 0x30
jne 0x53512f
movzx eax, byte [esi + 0x21]
or eax, 0x20
cmp eax, 0x78
jne 0x53512f
lea edi, [esi + 0x22]
mov ebx, edx
jmp 0x535133
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [esi + 0x58], 0xffffffff
call dword [section..00cfg]
mov ecx, ebx
call dword [esi + 4]
mov dl, byte [ebp + 0x14]
jmp 0x53519c
mov cl, 0x6f
jmp 0x5350b9