Function at 0x4c6f50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51df88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x56858c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov ecx, 1
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [esi], vtable.GuiControl::CheckBox.0
mov dword [esi + 8], 2
mov dword [esi + 0x58], 7
mov dword [esi + 0x60], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4c7000
add dword [eax + 4], ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call fcn.0044ca40
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, ebx
je 0x4c7037
dec dword [ecx + 4]
jne 0x4c7037
cmp byte [ecx + 8], bl
je 0x4c702e
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4c7050
inc dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 4
call fcn.0044ca40
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edi, ebx
je 0x4c7088
dec dword [edi + 4]
jne 0x4c7088
cmp byte [edi + 8], bl
je 0x4c707d
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
jne 0x4c7093
xor eax, eax
jmp 0x4c70a7
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x4c709f
mov eax, dword [eax + 0xc]
jmp 0x4c70a1
xor eax, eax
imul eax, dword [ebp + 0x20]
add eax, ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x14], edx
cmp ecx, ebx
jne 0x4c70ca
xor eax, eax
jmp 0x4c70de
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4c70d6
mov eax, dword [eax + 0xc]
jmp 0x4c70d8
xor eax, eax
imul eax, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0x38]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], edx
push ecx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [0x526388]
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jne 0x4c711f
xor eax, eax
jmp 0x4c7133
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4c712b
mov eax, dword [eax + 0xc]
jmp 0x4c712d
xor eax, eax
imul eax, dword [ebp + 0x14]
add eax, ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov edi, dword [0x526390]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x24]
push ecx
add eax, 0x2c
push eax
mov dword [ebp - 0x34], edx
call edi
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
jne 0x4c7166
xor eax, eax
jmp 0x4c717a
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x4c7172
mov eax, dword [eax + 0xc]
jmp 0x4c7174
xor eax, eax
imul eax, dword [ebp + 0x20]
add eax, ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edx
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x24]
push edx
add eax, 0x2c
push eax
mov dword [ebp - 0x34], ecx
call edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x3c], ecx
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4c71dd
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4c71d7
cmp byte [ecx + 8], bl
je 0x4c71c7
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
je 0x4c71d7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4c7210
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4c7210
cmp byte [ecx + 8], bl
je 0x4c7200
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp + 0x24]
cmp ecx, ebx
je 0x4c7210
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00503edb
mov esp, ebp
pop ebp
ret 0x20