Function at 0x4c5c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], esp
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x6c], 0x4cb760
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [esi + 0x68], ecx
lea ecx, [esi + 0x68]
mov dword fs:[0], ecx
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], eax
lea ecx, [ebx + 0x10]
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x2c], ecx
push ecx
call fcn.004bfd30
add esp, 8
mov ecx, eax
mov dword [esi + 0x24], edx
mov edi, dword [esi + 0x38]
mov edx, dword [ebx]
mov dword [esi + 0x30], ebx
pcmpeqd xmm1, xmm1
mov dword [esi + 0xc], 0
mov dword [esi + 0x28], eax
shr ecx, 0x19
movd xmm0, ecx
mov ecx, dword [ebx + 4]
mov ebx, dword [esi + 0x3c]
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
mov dword [esi + 0x14], edi
pshufd xmm0, xmm0, 0
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ecx
and eax, ecx
movdqa xmm3, xmm0
mov ebx, edx
movdqu xmm2, xmmword [edx + eax]
pcmpeqb xmm3, xmm2
pmovmskb edx, xmm3
nop word cs:[eax + eax]
test dx, dx
je 0x4c5d10
lea edi, [edx - 1]
mov ecx, ebx
and edi, edx
tzcnt edx, edx
add edx, eax
and edx, dword [esi + 4]
shl edx, 3
sub ecx, edx
mov edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
xor edx, dword [esi + 0x10]
xor ecx, dword [esi + 0x14]
or ecx, edx
mov edx, edi
jne 0x4c5ce0
jmp 0x4c5d30
pcmpeqb xmm2, xmm1
pmovmskb edx, xmm2
test edx, edx
jne 0x4c5d4b
mov ecx, dword [esi + 0xc]
mov edx, ebx
lea eax, [eax + ecx + 0x10]
add ecx, 0x10
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 4]
jmp 0x4c5cc1
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [esi + 0x68]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x70], 0xffffffff
push dword [esi + 0x2c]
push dword [esi + 0x10]
push dword [esi + 0x14]
push dword [esi + 0x24]
push dword [esi + 0x28]
push dword [esi + 0x30]
call fcn.004eee50
add esp, 0x18
mov eax, dword [esi + 0x34]
mov ecx, 0xfffffeb0
mov ebx, dword [ebp + 0x10]
add ecx, dword [eax + 0x20]
imul eax, dword [eax + 0x28], 0x150
mov dword [esi + 4], ecx
nop word cs:[eax + eax]
nop
test eax, eax
je 0x4c5e19
mov edi, dword [esi + 4]
add eax, 0xfffffeb0
mov edx, dword [edi + 0x18c]
mov ecx, dword [edi + 0x188]
add edi, 0x150
mov dword [esi + 4], edi
xor edx, dword [ebp + 0x14]
xor ecx, ebx
or edx, ecx
jne 0x4c5d90
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x70], 0
lea eax, [esi + 0x18]
push 0x604df4
push eax
lea eax, [esi + 0x38]
push eax
call fcn.005409a0
add esp, 0xc
lea eax, [esi + 0x38]
push eax
push dword [esi + 4]
call fcn.004b0bb0
add esp, 8
test al, al
jne 0x4c5e36
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
movq xmm0, qword [esi + 0x18]
mov dword [eax + 8], ecx
movq qword [eax], xmm0
jmp 0x4c5d39
mov dword [esi + 0x70], 0xffffffff
push 0x6050b0
push 0x63
push 0x604f86
call fcn.005b1610
add esp, 0xc
ud2
lea eax, [esi + 8]
push 0x604e90
push 0x604eb0
push eax
push 0x37
push 0x604e0c
call fcn.005b1a30
add esp, 0x14
ud2