Function at 0x4e7170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b76e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53c074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov word [esi + 0x18], 1
mov byte [esi + 0x1a], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov byte [ebp - 4], 6
mov eax, 0xd05
mov edi, dword [ebp + 8]
mov ecx, edi
mov word [esi + 0x50], ax
lea eax, [ebp - 0x14]
push 0x52c518
push eax
call fcn.004020b0
mov ecx, dword [edi]
mov edx, 0x1000
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e7280
mov cx, word [eax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x4e7280
add eax, 0x10
test word [eax + 0xe], dx
jne 0x4e7282
mov eax, dword [eax + 8]
jmp 0x4e7282
xor eax, eax
push eax
mov ecx, esi
call fcn.004e69b0
test al, al
je 0x4e75df
push 0x52c51c
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.004020b0
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e72d0
mov cx, word [eax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x4e72d0
lea ebx, [eax + 0x10]
mov eax, 0x1000
test word [ebx + 0xe], ax
jne 0x4e72d2
mov ebx, dword [ebx + 8]
jmp 0x4e72d2
xor ebx, ebx
push dword [esi + 0x48]
call fcn.004c3789
add esp, 4
test ebx, ebx
jne 0x4e72e9
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
jmp 0x4e7317
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e72f0
sub ecx, edx
mov dword [esi + 0x4c], ecx
lea eax, [ecx + 1]
push eax
call fcn.004c378e
mov ecx, dword [esi + 0x4c]
inc ecx
mov dword [esi + 0x48], eax
push ecx
push ebx
push eax
call fcn.004c5650
add esp, 0x10
push 0x52c504
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.004020b0
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e7355
mov cx, word [eax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x4e7355
lea ebx, [eax + 0x10]
mov eax, 0x1000
test word [ebx + 0xe], ax
jne 0x4e7357
mov ebx, dword [ebx + 8]
jmp 0x4e7357
xor ebx, ebx
push dword [esi + 0x30]
call fcn.004c3789
add esp, 4
test ebx, ebx
jne 0x4e736e
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
jmp 0x4e739a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e7373
sub ecx, edx
mov dword [esi + 0x34], ecx
lea eax, [ecx + 1]
push eax
call fcn.004c378e
mov ecx, dword [esi + 0x34]
inc ecx
mov dword [esi + 0x30], eax
push ecx
push ebx
push eax
call fcn.004c5650
add esp, 0x10
push 0x52c50c
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.004020b0
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e73d8
mov cx, word [eax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x4e73d8
lea ebx, [eax + 0x10]
mov eax, 0x1000
test word [ebx + 0xe], ax
jne 0x4e73da
mov ebx, dword [ebx + 8]
jmp 0x4e73da
xor ebx, ebx
push dword [esi + 0x38]
call fcn.004c3789
add esp, 4
test ebx, ebx
jne 0x4e73f1
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
jmp 0x4e741d
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e73f6
sub ecx, edx
mov dword [esi + 0x3c], ecx
lea eax, [ecx + 1]
push eax
call fcn.004c378e
mov ecx, dword [esi + 0x3c]
inc ecx
mov dword [esi + 0x38], eax
push ecx
push ebx
push eax
call fcn.004c5650
add esp, 0x10
push 0x52c4f8
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.004020b0
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e7450
movzx ecx, word [eax + 0x1e]
mov al, cl
shr al, 3
test al, 1
je 0x4e7450
cmp ecx, 0xa
sete al
jmp 0x4e7452
xor al, al
push 0x52c4ec
mov ecx, edi
mov byte [esi + 0x19], al
call fcn.00402a00
movzx edx, word [eax + 0xe]
mov cl, dl
shr cl, 5
test cl, 1
je 0x4e747d
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [esi + 0x1c], ecx
jmp 0x4e7496
mov al, dl
shr al, 3
test al, 1
je 0x4e7496
xor eax, eax
mov ecx, 0x3c
cmp edx, 0xa
cmove eax, ecx
mov dword [esi + 0x1c], eax
push 0x52c524
mov ecx, edi
call fcn.00402a00
movzx ebx, word [eax + 0xe]
mov ecx, ebx
mov edx, ebx
shr ecx, 0xa
test cl, 1
je 0x4e74c7
test ebx, 0x1000
jne 0x4e74bd
mov eax, dword [eax + 8]
push eax
mov ecx, esi
call fcn.004eafb0
jmp 0x4e74ec
shr dl, 5
test dl, 1
je 0x4e74ec
mov eax, dword [eax]
cmp eax, 0xffffffff
jl 0x4e74ec
cmp eax, 1
jle 0x4e74e9
cmp eax, 2
jne 0x4e74ec
mov dword [esi + 8], 8
jmp 0x4e74ec
mov dword [esi + 8], eax
push str.enabled
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.004020b0
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e751f
movzx ecx, word [eax + 0x1e]
mov al, cl
shr al, 3
test al, 1
je 0x4e751f
cmp ecx, 0xa
sete al
jmp 0x4e7521
mov al, 1
mov byte [esi + 0x18], al
mov ecx, edi
push 0x52c514
lea eax, [ebp + 8]
push eax
call fcn.004020b0
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e7557
movzx ecx, word [eax + 0x1e]
mov al, cl
shr al, 3
test al, 1
je 0x4e7557
cmp ecx, 0xa
sete al
jmp 0x4e7559
xor al, al
mov byte [esi + 0x1a], al
mov ecx, edi
push 0x52c4dc
lea eax, [ebp + 8]
push eax
call fcn.004020b0
mov ecx, dword [edi]
shl ecx, 5
add ecx, dword [edi + 8]
mov eax, dword [eax]
cmp eax, ecx
je 0x4e759a
mov cx, word [eax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x4e759a
lea edi, [eax + 0x10]
mov eax, 0x1000
test word [edi + 0xe], ax
jne 0x4e759c
mov edi, dword [edi + 8]
jmp 0x4e759c
xor edi, edi
push dword [esi + 0x20]
call fcn.004c3789
add esp, 4
test edi, edi
jne 0x4e75b3
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
jmp 0x4e75df
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e75b8
sub ecx, edx
mov dword [esi + 0x24], ecx
lea eax, [ecx + 1]
push eax
call fcn.004c378e
mov ecx, dword [esi + 0x24]
inc ecx
mov dword [esi + 0x20], eax
push ecx
push edi
push eax
call fcn.004c5650
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4