Function at 0x4c68a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c6e1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0x82
jg 0x4c68f3
je 0x4c698c
sub eax, 2
je 0x4c698c
sub eax, 3
je 0x4c6919
sub eax, 7
je 0x4c6a8d
sub eax, 0x6f
je 0x4c6928
jmp 0x4c6ae4
sub eax, 0x128
je 0x4c6e04
sub eax, 0xd8
je 0x4c6a38
sub eax, 0x117
je 0x4c6ac6
jmp 0x4c6ae4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
jmp 0x4c6ae4
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x4c6ae4
cmp dword [esi + 0x38], 0
je 0x4c6ae4
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x7c], 0
je 0x4c6ae4
mov eax, esi
call fcn.004ed930
test eax, eax
je 0x4c6ae4
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
mov eax, esi
call fcn.004ed930
mov al, byte [eax + 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004ed930
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 0x38]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.005001b4
jmp 0x4c6ae4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4c69a4
cmp dword [eax + 0x14], 0xffffffff
jle 0x4c69a4
mov eax, dword [eax + 0x14]
call fcn.004d3c68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x4c69b7
mov eax, dword [ebp - 4]
cmp word [eax + 0x42], 0
je 0x4c6a19
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004c6e28
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x4c6e04
xor eax, eax
push ebp
push 0x4c6a0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
xor edx, edx
call fcn.004bb378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c6e04
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov dword [ebx + 0xc], eax
jmp 0x4c6e04
mov eax, dword [0x508fe8]
cmp dword [eax], 0
je 0x4c6ae4
mov eax, dword [0x508fe8]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x4c6ae4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x4c6ae4
mov eax, dword [0x508fe8]
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
je 0x4c6ae4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x508fe8]
mov eax, dword [eax]
call fcn.004faaf4
jmp 0x4c6ae4
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004c6e28
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.0049506c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404844
jmp 0x4c6ae4
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov dword [ebx + 0xc], eax
jmp 0x4c6e04
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x4c6b0a
mov eax, esi
call fcn.004ed930
test eax, eax
je 0x4c6b0a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004ed930
cmp byte [eax + 0x3c], 0
jne 0x4c6b2a
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004c6e28
mov dword [ebx + 0xc], eax
jmp 0x4c6e04
mov eax, dword [ebx]
mov edx, dword [0x508de4]
cmp eax, dword [edx]
jne case.0x4c6b4d.0
movzx eax, word [ebx + 6]
cmp eax, 0x3c
ja case.0x4c6b4d.0
mov al, byte [eax + 0x4c6b54]
jmp dword [eax*4 + 0x4c6b91]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4c6b4d.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov edx, dword [ebx + 8]
xor ecx, ecx
call fcn.004ec3a4
jmp 0x4c6e04
cmp dword [ebx + 8], 0
jne 0x4c6c01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
and word [eax + 0x4e], 0xfdff
jmp 0x4c6c0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
or word [eax + 0x4e], 0x200
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov dword [edx + 0x54], eax
jmp case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004ed930
cmp eax, dword [ebx + 8]
jne case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004ee648
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
mov ecx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [eax + 0x38]
call fcn.004b9ea4
jmp case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
cmp byte [esi + 0x18], 0
je case.0x4c6b4d.0
mov byte [esi + 0x18], 0
mov eax, esi
call fcn.004ed944
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x18], bl
test bl, bl
jne 0x4c6e04
push 0x581
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4c6e04
mov dword [ebx + 0xc], 1
jmp 0x4c6e04
mov eax, dword [0x5090ac]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
jmp 0x4c6e04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004ed930
cmp eax, dword [ebx + 8]
jne case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004ee648
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
xor edx, edx
call fcn.004edeb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c6e04
push 0
push 0
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4c6e04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4c6b4d.0
movzx eax, byte [eax + 0x18]
mov dword [ebx + 0xc], eax
jmp 0x4c6e04
cmp dword [ebx + 8], 0
je case.0x4c6b4d.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
je case.0x4c6b4d.0
mov eax, dword [ebx + 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004edd30
jmp case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004ed930
cmp eax, dword [ebx + 8]
jne case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
jmp case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4c6b4d.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
xor ecx, ecx
call fcn.004bad44
jmp case.0x4c6b4d.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x38], 0
je case.0x4c6b4d.0
mov edx, eax
mov eax, ebx
call fcn.004edf1c
jmp 0x4c6e04
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004c6e28
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x4c6e04
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
call fcn.004ec828
mov dword [ebx + 0xc], eax
jmp 0x4c6e04
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004c6e28
mov dword [ebx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6e21
lea eax, [ebp - 8]
call fcn.00404cc8
ret