Function at 0x1004e91
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.010067b0
mov eax, dword [0x1008110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0xb
mov esi, ecx
mov dword [ebp - 0x1008], edi
jge 0x1005154
cmp edi, 3
jne 0x1004f0d
push 0x134
push 0x103
push 0x102
push 0
push dword [0x1008190]
call dword [sym.imp.SHLWAPI.dll_ShellMessageBoxW]
add esp, 0x14
mov ecx, esi
cmp eax, 6
jne 0x1004ef8
push 1
call fcn.01004852
jmp 0x1005154
call fcn.0100493e
mov dword [ebp - 0x1008], 4
mov edi, dword [ebp - 0x1008]
push ebx
xor ebx, ebx
inc ebx
push 0x400
lea eax, [ebp - 0x804]
push eax
cmp edi, ebx
jne 0x1004f2b
push dword [ebp + 0x10]
call fcn.01004cad
jmp 0x1004f3e
push dword [edi*4 + 0x10014bc]
push dword [0x1008190]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x804]
push eax
push 0xcc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [edi - 1]
mov dword [esi + 0x54], edi
cmp eax, 9
ja case.0x1004f62.3
jmp dword [eax*4 + 0x1005169]
push 5
push 0xca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x100514c
push 0
push 0
push 0x402
push 0xca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x1004f62.3
xor edi, edi
push edi
push edi
push 0x402
push 0xca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
push 0x7d0
push ebx
push dword [esi + 4]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.0x1004f62.3
push 0
push 0
push 0x402
push 0xca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp case.0x1004f62.3
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0xc9
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 1
push 0xcd
push dword [esi + 4]
call edi
push eax
call ebx
push 1
push 2
push dword [esi + 4]
call edi
push eax
call ebx
push 1
push 0xcf
push dword [esi + 4]
call edi
push eax
call ebx
jmp case.0x1004f62.3
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0xc9
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 1
push 0xcd
push dword [esi + 4]
call edi
push eax
call ebx
push 1
push 2
push dword [esi + 4]
call edi
push eax
call ebx
push 1
push 0xcf
push dword [esi + 4]
call edi
push eax
call ebx
cmp dword [ebp - 0x1008], 0xa
jne 0x1005129
push 0x400
lea eax, [ebp - 0x1004]
push eax
push 0x101
push dword [0x1008190]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x1004]
push eax
push 2
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 2
push 0x401
push dword [esi + 4]
call ebx
push 2
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 5
push 2
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x64
push 0x402
push 0xca
push dword [esi + 4]
call edi
push eax
call ebx
jmp case.0x1004f62.3
push 0
push 0
push 0x402
mov ebx, 0xca
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0100677b
leave
ret 0x10