Function at 0x4e0f60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, 0x110
je 0x4e12d8
sub eax, 1
jne 0x4e11c8
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push eax
push eax
push 0xe
push 0x138d
push dword [edi + 0xc]
call ebx
mov ecx, dword [ebp + 0x10]
mov esi, eax
cmp ecx, 0x1389
ja 0x4e10c1
je 0x4e102c
mov edx, ecx
sub edx, 1
je 0x4e0fe9
sub edx, 1
jne 0x4e10d7
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
push 0
push 0
push 0x42b
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e1475
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
test al, al
jne 0x4e0fff
mov word [edi + 0x21], 0
mov byte [edi + 0x20], al
cmp byte [edi + 0x24], 0
je 0x4e1028
lea eax, [ebp - 0x84]
push eax
push 0x40
push 0xd
push 0x138d
push dword [edi + 0xc]
call ebx
lea eax, [ebp - 0x84]
mov ecx, edi
push eax
call fcn.004e1500
push 0
jmp 0x4e0fc9
push 0
push 0
push 0xf0
push 0x1389
push dword [edi + 0xc]
call ebx
cmp eax, 1
lea ebx, [edi + 0x20]
mov ecx, edi
sete al
mov byte [ebx], al
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4e1068
test esi, esi
jg 0x4e1061
cmp byte [edi + 0x24], 0
jne 0x4e1068
mov eax, 1
jmp 0x4e106a
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 1
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x85]
mov byte [ebp - 0x85], 0
push eax
push ebx
push 0x42b
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [ebp - 0x85]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x1394
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e1475
mov eax, ecx
sub eax, 0x138a
je 0x4e1242
sub eax, 1
je 0x4e11dd
mov eax, ecx
mov edx, 0x300
shr eax, 0x10
cmp ax, dx
jne 0x4e112c
mov eax, 0x138d
cmp cx, ax
jne 0x4e11c8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4e1112
test esi, esi
jg 0x4e110b
cmp byte [edi + 0x24], 0
jne 0x4e1112
mov eax, 1
jmp 0x4e1114
xor eax, eax
push eax
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4e1475
cmp ax, 1
jne 0x4e11c8
mov eax, 0x138c
cmp cx, ax
jne 0x4e11c8
push 0
push 0
push 0x147
push eax
push dword [edi + 0xc]
call ebx
mov ecx, edi
mov al, byte [eax*8 + 0x5fbc04]
mov byte [edi + 0x23], al
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4e117b
test esi, esi
jg 0x4e1174
cmp byte [edi + 0x24], 0
jne 0x4e117b
mov eax, 1
jmp 0x4e117d
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 1
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
push eax
push 0x138f
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, edi
call fcn.004e1b20
jmp 0x4e1475
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0xf0
push 0x138b
push dword [edi + 0xc]
call ebx
cmp eax, 1
mov byte [ebp - 0x85], 0
sete al
mov byte [edi + 0x22], al
lea eax, [ebp - 0x85]
push eax
lea eax, [edi + 0x20]
push eax
push 0x42b
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [ebp - 0x85]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x1394
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e1475
push 0
push 0
push 0xf0
push 0x138a
push dword [edi + 0xc]
call ebx
cmp eax, 1
mov ecx, edi
sete al
mov byte [edi + 0x21], al
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4e127c
test esi, esi
jg 0x4e1275
cmp byte [edi + 0x24], 0
jne 0x4e127c
mov eax, 1
jmp 0x4e127e
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 1
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x85]
mov byte [ebp - 0x85], 0
push eax
lea eax, [edi + 0x20]
push eax
push 0x42b
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [ebp - 0x85]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x1394
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e1475
lea eax, [edi + 0xa6]
push eax
push 0x138d
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [edi + 0x24], 0
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jne 0x4e130c
push 0
push 1
push 0xcf
push 0x138d
push dword [edi + 0xc]
call ebx
push 0
push 0
push 0xe
push 0x138d
push dword [edi + 0xc]
call ebx
xor ecx, ecx
mov esi, eax
cmp byte [edi + 0x20], cl
push 0
setne cl
push ecx
push 0xf1
push 0x1389
push dword [edi + 0xc]
call ebx
xor eax, eax
cmp byte [edi + 0x21], al
push 0
setne al
push eax
push 0xf1
push 0x138a
push dword [edi + 0xc]
call ebx
xor eax, eax
cmp byte [edi + 0x22], al
push 0
setne al
push eax
push 0xf1
push 0x138b
push dword [edi + 0xc]
call ebx
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4e138a
test esi, esi
jg 0x4e1383
cmp byte [edi + 0x24], 0
jne 0x4e138a
mov eax, 1
jmp 0x4e138c
xor eax, eax
push eax
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
or ebx, 0xffffffff
xor esi, esi
jmp 0x4e13b0
push dword [esi*8 + 0x5fbc00]
push 0
push 0x143
push 0x138c
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov al, byte [edi + 0x23]
cmp al, byte [esi*8 + 0x5fbc04]
jne 0x4e13da
mov ebx, esi
inc esi
cmp esi, 0x5b
jb 0x4e13b0
cmp ebx, 0xffffffff
je 0x4e13fb
push 0
push ebx
push 0x14e
push 0x138c
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x138f
push dword [edi + 0xc]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
lea eax, [ebp - 0x85]
mov byte [ebp - 0x85], 0
push eax
lea eax, [edi + 0x20]
push eax
push 0x42b
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [ebp - 0x85]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x1394
push dword [edi + 0xc]
call ebx
push eax
call esi
call fcn.0040baa0
push 0
push 0
push str.ShortcutMapperSubDialg
push dword [edi + 0xc]
mov ecx, dword [eax + 0x234d8]
call fcn.0045e090
mov ecx, edi
call fcn.004e9680
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10