Function at 0x55d240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x90]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x4d14b0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x20]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x10], fcn.00548450
mov dword [esi + 0x14], edx
mov edx, dword [ecx + 0x1c]
lea ecx, [esi + 0x1c]
mov dword [ecx], edx
mov dword [esi + 4], edx
lock inc dword [edx + 4]
mov dword [eax + 8], 1
push 0x6bedb0
call fcn.00506190
mov dword [esi + 8], eax
mov cl, byte [ebp + 0x14]
lea eax, [esi + 3]
mov byte [eax], 0
movzx edi, cl
lea ecx, [ebp + 0xc]
mov edx, dword [esi + 0x18]
lea ebx, [esi + 0x84]
push ebx
lea ebx, [esi + 0x14]
push ebx
lea ebx, [esi + 0xc]
push ebx
push dword [esi + 8]
push eax
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push dword [eax + 4]
lea eax, [esi + 0x1c]
push eax
push edi
call fcn.004cbc30
add esp, 0x24
test al, al
je 0x55d3cf
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + 0xb], 0
js 0x55d45a
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
cmp byte [esi + 3], 0
je 0x55d36f
mov ebx, dword [esi + 8]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0x98], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x98], 1
mov ecx, ebx
push 0x2d
call edi
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.00504ce0
mov ebx, dword [esi + 8]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0x98], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x98], 1
mov ecx, ebx
push 0x30
call edi
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
lea ecx, [edi - 1]
cmp edx, ecx
jae 0x55d3b9
mov ecx, edx
not ecx
add ecx, edi
lea ebx, [edx + ecx]
cmp byte [edx], al
jne 0x55d3b9
inc edx
dec ecx
jne 0x55d3af
mov edx, ebx
mov dword [esi + 0x98], 1
mov ecx, dword [ebp + 0x20]
push edi
call fcn.0055d4e0
add esp, 4
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.0050df40
mov ecx, dword [ebp + 8]
test al, al
je 0x55d3e8
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov ebx, dword [esi + 4]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x55d417
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x98], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov edi, dword [esi + 0xc]
test edi, edi
je 0x55d441
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x98], 0xffffffff
call dword [section..00cfg]
mov dword [esi + 0x98], 0
push edi
call ecx
add esp, 4
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
jmp 0x55d333