Function at 0x4ca7a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d386
mov eax, dword fs:[0]
push eax
sub esp, 0x90
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 edi, dword [ebp + 8]
call fcn.0040baa0
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [ebx + 0x234d8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
sub eax, 0x110
je 0x4ca47d
sub eax, 1
je 0x4ca5ed
xor eax, eax
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
push 0
push dword [ebx + 0x984]
push 0x18a7
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push dword [edi + 0xc]
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
push dword [edi + 4]
call dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x18a7
push 0x18a7
push dword [edi + 0xc]
call eax
push eax
lea ecx, [edi + 0x20]
call fcn.004f90b0
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor eax, eax
cmp byte [ebx + 0x74], al
push 0
sete al
push eax
push 0xf1
push 0x18a1
push dword [edi + 0xc]
call esi
movzx eax, byte [ebx + 0x988]
push 0
push eax
push 0xf1
push 0x1918
push dword [edi + 0xc]
call esi
mov eax, dword [ebx + 0x98c]
mov esi, 0x191b
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
test eax, eax
jne 0x4ca51c
mov esi, 0x1919
jmp 0x4ca52a
cmp eax, 0xffffffff
je 0x4ca525
test eax, eax
jns 0x4ca53a
mov esi, 0x191a
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], esi
push 0
push 1
push 0xf1
push esi
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor eax, eax
cmp esi, 0x191b
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
sete al
push eax
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp dword [ebp - 0x8c], 0x191b
setne al
dec eax
and eax, 5
push eax
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 0x90]
push 0x191c
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push dword [edi + 0xc]
mov eax, dword [edi + 0x68]
lea ecx, [edi + 0x68]
push dword [edi + 4]
call dword [eax + 4]
push 0xff0000
push 0
push 0x191c
push dword [edi + 0xc]
mov eax, esi
call eax
push eax
lea ecx, [edi + 0x68]
call fcn.004f9110
mov eax, dword [ebx + 0x231dc]
test eax, eax
je 0x4ca5e7
push 6
push dword [edi + 0xc]
call eax
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [ebp + 0x10]
add eax, 0xffffe75f
cmp eax, 0x7b
ja case.0x4ca605.6306
movzx eax, byte [eax + 0x4ca920]
jmp dword [eax*4 + 0x4ca900]
push 0x18a1
mov ecx, edi
call fcn.004443c0
test al, al
sete al
mov byte [ebx + 0x74], al
mov eax, 1
jmp 0x4ca45f
push str.Max_File:
lea ecx, [ebp - 0x40]
call fcn.004029a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x98]
push eax
push str.recent_file_history_maxfile
lea eax, [ebp - 0x28]
push eax
call fcn.0045ff80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004038c0
lea ecx, [ebp - 0x88]
call fcn.004c26a0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4ca67d
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x984]
lea ecx, [ebp - 0x88]
push dword [edi + 0xc]
push 0
call fcn.0045d730
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push dword [ebp - 0x90]
lea ecx, [ebp - 0x88]
push dword [ebp - 0x94]
call fcn.0045d6b0
cmp eax, 0xffffffff
je 0x4ca6f9
cmp eax, 0x1e
jle 0x4ca6c9
mov eax, 0x1e
push 0
push eax
push 0x18a7
mov dword [ebx + 0x984], eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push 0
push 0x40b
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.004c2810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004038c0
mov eax, 1
jmp 0x4ca45f
push 0x1918
mov ecx, edi
call fcn.004443c0
push 0
push 0
mov byte [ebx + 0x988], al
push 0x424
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x4ca45f
push 0
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x191c
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
mov dword [ebx + 0x98c], 0
push 0x423
jmp 0x4ca73c
push 0
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x191c
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
mov dword [ebx + 0x98c], 0xffffffff
push 0x423
jmp 0x4ca73c
cmp dword [ebx + 0x98c], 0
jg 0x4ca74c
push 1
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x64
push 0x191c
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 5
push 0x191c
push dword [edi + 0xc]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
mov dword [ebx + 0x98c], 0x64
push 0x423
jmp 0x4ca73c
lea ecx, [ebp - 0x88]
call fcn.004c26a0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x88]
push str.Length:
push dword [ebx + 0x98c]
push dword [edi + 0xc]
push 0
call fcn.0045d730
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x68], 3
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push dword [ebp - 0x98]
lea ecx, [ebp - 0x88]
push dword [ebp - 0x9c]
call fcn.0045d6b0
mov esi, eax
cmp esi, 0xffffffff
je 0x4ca8e1
push 0
push esi
push 0x191c
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push 0
push 0x423
mov dword [ebx + 0x98c], esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004c2810
mov eax, 1
jmp 0x4ca45f