Function at 0x4e0d2b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eb10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5fc150]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, 0x110
je 0x4e0db7
sub eax, 1
jne 0x4e0db0
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x1389
ja 0x4e0bb5
je 0x4e0b89
mov eax, ecx
sub eax, 1
je 0x4e0b72
sub eax, 1
jne case.0x4e0bc4.5004
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4e0f13
push 0
push dword [esi + 0xc]
mov dword [esi + 0x20], 0
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4e0f13
push 0
push 0
push 0xf0
push 0x1389
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
mov ecx, esi
sete al
mov byte [esi + 0x20], al
call fcn.004e2e90
jmp 0x4e0f13
lea eax, [ecx - 0x138a]
cmp eax, 8
ja case.0x4e0bc4.5004
jmp dword [eax*4 + 0x4e0f3c]
push 0
push 0
push 0xf0
push ecx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
mov ecx, esi
sete al
mov byte [esi + 0x21], al
call fcn.004e2e90
jmp 0x4e0f13
push 0
push 0
push 0xf0
push ecx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
mov ecx, esi
sete al
mov byte [esi + 0x22], al
call fcn.004e2e90
jmp 0x4e0f13
push dword [esi + 0x20]
mov ebx, dword [esi + 0x13c]
mov ecx, esi
call fcn.004dff20
mov edi, eax
cmp edi, 0xffffffff
jle 0x4e0c91
cmp edi, ebx
mov ecx, esi
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
jne 0x4e0c7a
lea eax, [ebp - 0x28]
push eax
call fcn.004e1630
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4e0c57
mov eax, dword [eax]
push eax
push 0xffffffffffffffff
push 0x181
push 0x1393
push dword [esi + 0xc]
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004038c0
jmp 0x4e0c7f
call fcn.004e25a0
push 0
push edi
push 0x186
push 0x1393
push dword [esi + 0xc]
call ebx
mov ecx, esi
call fcn.004e1580
mov ecx, esi
call fcn.004e2e90
jmp 0x4e0f13
cmp dword [esi + 0x13c], 1
je 0x4e0f13
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x188
push 0x1393
push dword [esi + 0xc]
call ebx
mov edi, eax
mov ecx, esi
push edi
call fcn.004e0ab0
push 0
push edi
push 0x182
push 0x1393
push dword [esi + 0xc]
call ebx
mov eax, dword [esi + 0x13c]
cmp edi, eax
jne 0x4e0cf3
lea edi, [eax - 1]
push 0
push edi
push 0x186
push 0x1393
push dword [esi + 0xc]
call ebx
mov ecx, esi
call fcn.004e1580
mov ecx, esi
call fcn.004e2e90
jmp 0x4e0f13
mov ecx, esi
call fcn.004e0080
mov ecx, esi
call fcn.004e2e90
jmp 0x4e0f13
mov eax, ecx
shr eax, 0x10
cmp eax, 1
jne 0x4e0db0
movzx eax, cx
sub eax, 0x138c
je 0x4e0d57
sub eax, 7
jne 0x4e0db0
mov ecx, esi
call fcn.004e1580
mov ecx, esi
call fcn.004e2e90
jmp 0x4e0f13
push 0
push 0
push 0x147
push 0x138c
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, esi
mov al, byte [eax*8 + 0x5fbc04]
mov byte [esi + 0x23], al
mov eax, dword [esi]
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 [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004e2e90
jmp 0x4e0f13
xor eax, eax
jmp 0x4e0f18
lea eax, [esi + 0x26]
push eax
push 0x138d
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 0x130]
xor edi, edi
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [eax]
mov dword [esi + 0x20], eax
lea esp, [esp]
push dword [edi + 0x5fbc00]
push 0
push 0x143
push 0x138c
push dword [esi + 0xc]
call ebx
add edi, 8
cmp edi, 0x2d8
jb 0x4e0de0
xor edi, edi
cmp dword [esi + 0x13c], edi
jbe 0x4e0eb8
push edi
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004e1630
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4e0e2b
mov eax, dword [eax]
push eax
push 0
push 0x180
push 0x1393
push dword [esi + 0xc]
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4e0e97
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x4e0f36
add eax, eax
cmp eax, 0x1000
jb 0x4e0e8e
test cl, 0x1f
jne 0x4e0f36
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4e0f36
sub ecx, eax
cmp ecx, 4
jb 0x4e0f36
cmp ecx, 0x23
ja 0x4e0f36
mov ecx, eax
push ecx
call fcn.0052bd72
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
inc edi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp edi, dword [esi + 0x13c]
jb 0x4e0e10
push 0
push 0
push 0x186
push 0x1393
push dword [esi + 0xc]
call ebx
mov ecx, esi
call fcn.004e1580
mov ecx, esi
call fcn.004e2e90
push 0
push 0x138f
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0040baa0
push 0
push 0
push str.ShortcutMapperSubDialg
push dword [esi + 0xc]
mov ecx, dword [eax + 0x234d8]
call fcn.0045e090
mov ecx, esi
call fcn.004e9680
mov eax, 1
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.0052c233
mov esp, ebp
pop ebp
ret 0x10
call fcn.00547c01
nop
retf