Function at 0x405c38
Capabilities:
Check if file exists
Get file attributes
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push str.f:_sourcelcc_startepawinmain.c
push 0x1cc0000
push str.WinMain
mov dword [0x44100c], ebp
push fcn.0042b684
push 0xb
call sub.CRTDLL.DLL_signal
add esp, 8
mov eax, fcn.0042b684
mov dword [0x44102c], eax
sub esp, 0x268
mov ecx, 0x9a
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x405c74
push ebx
push esi
push edi
mov byte [ebp - 8], 1
mov byte [ebp - 8], 3
lea edi, [ebp - 0x274]
lea esi, [0x454a55]
mov ecx, pe_nt_image_headers32
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 8], 0xb
mov edi, dword [ebp + 8]
mov dword [0x4303f8], edi
inc dword [ebp - 8]
mov dword [0x434434], 0
mov byte [ebp - 8], 0xe
mov dword [0x430be4], 0
mov dword [0x430bf0], 0
mov dword [0x430be8], 0
inc dword [ebp - 8]
mov dword [0x430638], 0
mov dword [0x43040c], 0
mov dword [0x430400], 0
mov byte [ebp - 8], 0x11
mov dword [0x430528], 0
mov dword [0x43063c], 0
inc dword [ebp - 8]
mov dword [0x430b98], 1
mov byte [ebp - 8], 0x14
mov dword [0x43051c], 0
inc dword [ebp - 8]
mov dword [0x4303fc], 0
mov dword [0x430404], 0
mov byte [ebp - 8], 0x17
mov word [0x43b2c0], 0
inc dword [ebp - 8]
mov dword [0x43efd0], 0x80
mov byte [ebp - 8], 0x1a
push 0xff
push 0x4302f8
push 0x430a98
call fcn.00401ed1
add esp, 0xc
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0x4302f8
lea edi, [ebp - 0x1f4]
push edi
call fcn.0042baa5
add esp, 8
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x23
mov byte [0x430758], 0
inc dword [ebp - 8]
push 0x430a98
push 0x430418
call fcn.0042baa5
add esp, 8
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0x4302f8
push 0x430418
call sub.CRTDLL.DLL_strcat
add esp, 8
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push str..ini
push 0x430418
call sub.CRTDLL.DLL_strcat
add esp, 8
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0x430a98
push 0x430648
call fcn.0042baa5
add esp, 8
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push str.StartEPA.chm
push 0x430648
call sub.CRTDLL.DLL_strcat
add esp, 8
mov dword [0x44100c], ebp
inc dword [ebp - 8]
mov dword [0x430a8c], 0
mov dword [0x430a88], 0
mov byte [ebp - 8], 0x2b
call fcn.00404623
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x2d
mov dword [0x43efdc], 0
mov dword [0x43f01c], 0
inc dword [ebp - 8]
push 0
call fcn.00403dd6
add esp, 4
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x30
cmp dword [ebp + 0xc], 0
jne 0x405f4d
mov byte [ebp - 8], 0x32
mov dword [ebp - 0x16c], 3
inc dword [ebp - 8]
lea edi, [0x404dce]
mov dword [ebp - 0x168], edi
inc dword [ebp - 8]
mov dword [ebp - 0x164], 0
inc dword [ebp - 8]
mov dword [ebp - 0x160], 0
inc dword [ebp - 8]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x15c], edi
inc dword [ebp - 8]
push str.STARTEPAICON
push dword [ebp + 8]
call sub.USER32.DLL_LoadIconA
mov dword [0x44100c], ebp
mov dword [ebp - 0x158], eax
inc dword [ebp - 8]
push 0x7f00
push 0
call sub.USER32.DLL_LoadCursorA
mov dword [0x44100c], ebp
mov dword [ebp - 0x154], eax
inc dword [ebp - 8]
push 0
call sub.GDI32.DLL_GetStockObject
mov dword [0x44100c], ebp
mov dword [ebp - 0x150], eax
inc dword [ebp - 8]
mov dword [ebp - 0x14c], 0xa
inc dword [ebp - 8]
lea edi, [ebp - 0x1f4]
mov dword [ebp - 0x148], edi
inc dword [ebp - 8]
lea edi, [ebp - 0x16c]
push edi
call sub.USER32.DLL_RegisterClassA
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x3f
mov edi, dword [0x430a7c]
mov dword [ebp - 0x140], edi
inc dword [ebp - 8]
mov edi, dword [0x430b9c]
mov dword [ebp - 0x13c], edi
inc dword [ebp - 8]
mov edi, dword [0x43f02c]
mov edi, dword [edi + 4]
imul edi, dword [0x430a84]
add edi, dword [ebp - 0x140]
sub edi, 1
mov dword [ebp - 0x138], edi
inc dword [ebp - 8]
mov edi, dword [0x43f02c]
mov edi, dword [edi + 8]
imul edi, dword [0x430a84]
add edi, dword [ebp - 0x13c]
sub edi, 1
mov dword [ebp - 0x134], edi
inc dword [ebp - 8]
push 1
push 0xca0000
lea edi, [ebp - 0x140]
push edi
call sub.USER32.DLL_AdjustWindowRect
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x45
push 0
push dword [ebp + 8]
push 0
push 0
mov edi, dword [ebp - 0x134]
sub edi, dword [ebp - 0x13c]
add edi, 1
push edi
mov edi, dword [ebp - 0x138]
sub edi, dword [ebp - 0x140]
add edi, 1
push edi
push dword [0x430b9c]
push dword [0x430a7c]
push 0xca0000
lea edi, [ebp - 0x274]
push edi
lea edi, [ebp - 0x1f4]
push edi
push 0
call sub.USER32.DLL_CreateWindowExA
mov dword [0x44100c], ebp
mov dword [0x430968], eax
mov byte [ebp - 8], 0x52
cmp dword [0x430a78], 0
jne 0x40604a
inc dword [ebp - 8]
push 0
call fcn.004074c9
add esp, 4
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x55
push 0
push 0x64
push 1
push dword [0x430968]
call sub.USER32.DLL_SetTimer
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 1
push dword [0x430968]
call sub.SHELL32.DLL_DragAcceptFiles
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x58
push 8
push 0
lea edi, [ebp - 0x174]
push edi
call sub.CRTDLL.DLL_memset
add esp, 0xc
mov dword [0x44100c], ebp
inc dword [ebp - 8]
mov dword [ebp - 0x174], 8
inc dword [ebp - 8]
mov dword [ebp - 0x170], 0xffffffff
inc dword [ebp - 8]
lea edi, [ebp - 0x174]
push edi
call sub.COMCTL32.DLL_InitCommonControlsEx
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x5d
push 0x2710
push dword [0x4303f8]
call sub.USER32.DLL_LoadAcceleratorsA
mov dword [0x44100c], ebp
mov dword [ebp - 0x130], eax
mov byte [ebp - 8], 0x5f
push dword [0x430968]
call sub.USER32.DLL_GetMenu
mov dword [0x44100c], ebp
mov dword [0x430408], eax
inc dword [ebp - 8]
call fcn.00403a56
mov dword [0x44100c], ebp
inc dword [ebp - 8]
call fcn.00403b49
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0x430648
call sub.KERNEL32.dll_GetFileAttributesA
mov dword [0x44100c], ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x40613e
mov ebx, 0
jmp 0x406143
mov ebx, 1
push ebx
push 0x1fe
push dword [0x430408]
call sub.USER32.DLL_EnableMenuItem
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x64
push dword [0x430408]
call sub.USER32.DLL_GetMenuItemCount
mov dword [0x44100c], ebp
mov dword [ebp - 0x144], eax
inc dword [ebp - 8]
call sub.USER32.DLL_CreatePopupMenu
mov dword [0x44100c], ebp
mov dword [0x430970], eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], 0
jmp 0x4061f8
mov byte [ebp - 8], 0x67
push 0x400
push 0xff
lea edi, [ebp - 0x12c]
push edi
push dword [ebp - 0x10]
push dword [0x430408]
call sub.USER32.DLL_GetMenuStringA
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push dword [ebp - 0x10]
push dword [0x430408]
call sub.USER32.DLL_GetSubMenu
mov dword [0x44100c], ebp
mov edi, eax
lea esi, [ebp - 0x12c]
push esi
push edi
push 0x10
push dword [0x430970]
call sub.USER32.DLL_AppendMenuA
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x66
inc dword [ebp - 0x10]
mov edi, dword [ebp - 0x144]
cmp dword [ebp - 0x10], edi
jl 0x406194
mov byte [ebp - 8], 0x6b
cmp dword [0x430a90], 0
je 0x406230
inc dword [ebp - 8]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [0x430968]
call sub.USER32.DLL_SetWindowPos
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x6e
call fcn.00405ae3
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x70
push dword [ebp + 0x14]
push dword [0x430968]
call sub.USER32.DLL_ShowWindow
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push dword [0x430968]
call sub.USER32.DLL_UpdateWindow
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x73
call fcn.00403c50
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x75
call fcn.00404174
mov dword [0x44100c], ebp
inc dword [ebp - 8]
call fcn.00408cbc
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x78
call fcn.00404353
mov dword [0x44100c], ebp
inc dword [ebp - 8]
mov edi, dword [ebp + 0x10]
cmp edi, 0
je 0x4062e9
cmp byte [edi], 0
je 0x4062e9
inc dword [ebp - 8]
lea edi, [0x430a88]
lea esi, [0x430858]
mov ecx, 8
rep movsb byte es:[edi], byte [esi]
inc dword [ebp - 8]
push 0
push 0
push dword [ebp + 0x10]
call fcn.0040b2f0
add esp, 0xc
mov dword [0x44100c], ebp
jmp 0x4063bb
mov byte [ebp - 8], 0x7d
cmp dword [0x430be8], 0
jne 0x4063bb
inc dword [ebp - 8]
cmp dword [0x430a80], 0
je 0x40633a
inc dword [ebp - 8]
mov dword [0x430638], 1
inc dword [ebp - 8]
push dword [0x430638]
call fcn.0040b574
add esp, 4
mov dword [0x44100c], ebp
call fcn.00404ce4
mov dword [0x44100c], ebp
jmp 0x4063bb
mov byte [ebp - 8], 0x82
mov edi, dword [0x430528]
cmp dword [0x43063c], edi
jl 0x4063bb
inc dword [ebp - 8]
push 0
push 0
push 0x430978
call fcn.0040b2f0
add esp, 0xc
mov dword [0x44100c], ebp
inc dword [ebp - 8]
mov byte [ebp - 8], 0x86
jmp 0x4063bb
mov byte [ebp - 8], 0x88
lea edi, [ebp - 0x2c]
push edi
push dword [ebp - 0x130]
push dword [0x430968]
call sub.USER32.DLL_TranslateAcceleratorA
mov dword [0x44100c], ebp
cmp eax, 0
jne 0x4063b7
inc dword [ebp - 8]
lea edi, [ebp - 0x2c]
push edi
call sub.USER32.DLL_TranslateMessage
mov dword [0x44100c], ebp
inc dword [ebp - 8]
lea edi, [ebp - 0x2c]
push edi
call sub.USER32.DLL_DispatchMessageA
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x8c
mov byte [ebp - 8], 0x86
push 0
push 0
push 0
lea edi, [ebp - 0x2c]
push edi
call sub.USER32.DLL_GetMessageA
mov dword [0x44100c], ebp
cmp eax, 0
jne 0x40636f
mov byte [ebp - 8], 0x8e
call fcn.0040498f
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x90
call fcn.00408e74
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x92
push dword [0x430970]
call sub.USER32.DLL_DestroyMenu
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push dword [0x43efdc]
call sub.KERNEL32.dll_GlobalFree
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push dword [0x43f01c]
call sub.KERNEL32.dll_GlobalFree
mov dword [0x44100c], ebp
inc dword [ebp - 8]
push 0x43b2bc
call fcn.0041a2fa
add esp, 4
mov dword [0x44100c], ebp
mov byte [ebp - 8], 0x97
mov eax, dword [ebp - 0x24]
mov byte [ebp - 8], 0x98
cmp dword [ebp - 0xc], 0x454adc
je 0x406468
push 0
call fcn.0042b684
add esp, 4
pop edi
pop esi
pop ebx
leave
ret 0x10