Function at 0x42d3f2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov ecx, str.CTRLV
call fcn.0042e76d
push str.vDos_ico
xor ebx, ebx
mov byte [0x15d464b], al
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, dword [sym.imp.USER32.dll_SetClassLongA]
push eax
push 0xfffffffffffffff2
push dword [0x4a9f4c]
call edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.004500b0
add esp, 0xc
mov dword [ebp - 0x80], esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 0x74]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42d459
sub esi, edx
cmp esi, 3
jle 0x42d575
lea eax, [ecx - 4]
add eax, esi
push str..lnk
push eax
call fcn.0045a64b
pop ecx
pop ecx
test eax, eax
jne 0x42d575
push 0x5c
push dword [ebp - 0x74]
call fcn.0044f1f0
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x42d49c
mov ecx, dword [ebp - 0x74]
jmp 0x42d4a5
mov eax, dword [ebp - 0x74]
sub eax, ecx
dec eax
add esi, eax
inc ecx
sub esi, 4
push esi
push ecx
push 0x48c3c8
call fcn.004533e0
add esp, 0xc
mov byte [esi + 0x48c3c8], bl
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42d518
push 0
lea eax, [ebp - 0x34]
push eax
push 0x18
lea eax, [ebp - 0x98]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d50d
cmp dword [ebp - 0x98], 0x4c
jne 0x42d50d
test byte [ebp - 0x84], 0x40
jne 0x42d50d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x42d573
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jne 0x42d575
mov esi, 0x160
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call fcn.004500b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x4000
push esi
push eax
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x42d575
push 0x20
push dword [ebp - 0x214]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
push 0xfffffffffffffff2
push dword [0x4a9f4c]
call edi
jmp 0x42d575
xor ebx, ebx
push 0x48c3c8
push dword [0x4a9f4c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push ebx
push dword [0x4a9f4c]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
mov ebx, eax
push 0
push 0xf030
push ebx
call edi
push 0
push 0xf000
push ebx
call edi
push 0
push 0xf120
push ebx
call edi
push 0x30
pop esi
push esi
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004500b0
add esp, 0xc
mov dword [ebp - 0x30], esi
xor esi, esi
mov dword [ebp - 0x2c], 0x40
lea eax, [ebp - 0x30]
inc esi
push eax
push esi
push esi
jmp 0x42d647
mov eax, dword [ebp - 8]
cmp eax, 0x1e
jae 0x42d63f
inc eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
push 1
push esi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x42d63b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp byte [ecx + edx - 2], 0x46
jne 0x42d63b
cmp byte [ecx + edx - 1], 0x34
jne 0x42d63b
movzx eax, byte [ecx + edx]
test al, al
jne 0x42d63b
push 9
push ecx
call fcn.0044eac0
pop ecx
pop ecx
test eax, eax
jne 0x42d654
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x30]
inc esi
push eax
push 1
push esi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
jne 0x42d5e0
jmp 0x42d677
mov byte [eax], 0
sub eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
push 1
push esi
push ebx
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
push 0x400
lea eax, [esi - 1]
push eax
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
push 0x476c8d
push 0
push 0x800
push ebx
call esi
cmp byte [0x15d464b], 0
mov eax, str.Paste_Clipboard_text_tCtrlV
jne 0x42d69f
mov eax, str.Paste_Clipboard_text
push eax
push 0x1111
push 0
push ebx
call esi
push str.Window_font_____tWinF11
push 0x1112
push 0
push ebx
call esi
push str.Window_font__tWinF12
push 0x1113
push 0
push ebx
call esi
mov ecx, str.THEME
call fcn.0042e783
cmp byte [eax], 0
jne 0x42d6e6
push str.Next_color_theme
push 0x1114
push 0
push ebx
call esi
push 0x1ff
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x418]
push 0x5c
push eax
call fcn.0044f1f0
mov edi, eax
mov esi, str.license.txt
pop ecx
pop ecx
push 0x476c8d
movsd dword es:[edi], dword [esi]
push 0
push 0x800
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
call esi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42d749
push str.About_vDos
push 0x1110
push eax
push ebx
call esi
mov ecx, str.ALTSPACE
call fcn.0042e76d
pop edi
pop esi
mov byte [0x480968], al
pop ebx
leave
ret