Function at 0x40294e
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x40f9c0]
xor eax, dword [ebp + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1d0], 0
push str.Reading_configuration_file__.WIZ_
push 0x4105e0
call fcn.00403e64
add esp, 8
push 0x4105e0
mov eax, dword [0x410784]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00401f7a
lea ecx, [ebp - 0x148]
push ecx
push str..wiz
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
je 0x4029ef
lea edx, [ebp - 0x11c]
push edx
push 0x40f7c8
push 0x4107a0
call fcn.00403e64
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1cc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edx, dword [ebp - 0x1cc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4107a0
call section..text
add esp, 4
test eax, eax
jne 0x402a1b
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push str.Configuration_file__.WIZ__could_not_be_located._Aborting.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4031eb
push 0
push 0x80
push 0x410b80
push 0x40f7cc
push 0x40f7d0
call fcn.004014b5
add esp, 0x14
call fcn.00401260
push 0x410b80
push str.Reading_configuration_file___s_
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x4105e0
mov eax, dword [0x410784]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00401f7a
push 0x410b80
call section..text
add esp, 4
test eax, eax
jne 0x402ab3
push 0x410b80
push str.Configuration_file___s__could_not_be_located._Aborting.
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
push 0
push 0x80
push 0x410560
push 0x40f7f8
push 0x40f7fc
call fcn.004014b5
add esp, 0x14
push 0
push 0x80
push 0x4108c0
push 0x40f804
push str.HEADER
call fcn.004014b5
add esp, 0x14
push 0
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push 0x40f810
push 0x40f814
call fcn.004014b5
add esp, 0x14
push 0x40f820
lea edx, [ebp - 0x1c8]
push edx
call fcn.00404248
add esp, 8
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
je 0x402b46
mov eax, dword [ebp - 0x1d8]
push eax
push 0x410a60
call fcn.00403e64
add esp, 8
push 0
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push str.RESEXE
push 0x40f82c
call fcn.004014b5
add esp, 0x14
push 0x40f838
lea edx, [ebp - 0x1c8]
push edx
call fcn.00404248
add esp, 8
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
je 0x402b9d
mov eax, dword [ebp - 0x1d8]
push eax
push 0x410700
call fcn.00403e64
add esp, 8
push 0
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push 0x40f83c
push str.PRECHECK
call fcn.004014b5
add esp, 0x14
push 0x40f84c
lea edx, [ebp - 0x1c8]
push edx
call fcn.00404248
add esp, 8
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
je 0x402bf4
mov eax, dword [ebp - 0x1d8]
push eax
push 0x410b00
call fcn.00403e64
add esp, 8
push 0x410700
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402c3b
push 0x410700
push str.Resource_Utility___s__could_not_be_located._Aborting.
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
push 0x4108c0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402c82
push 0x4108c0
push str.Resource_file___s__could_not_be_located._Aborting.
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
push 0x410700
call fcn.0040341a
add esp, 4
test eax, eax
jne 0x402cca
push 0x410700
push str.An_error_occured_during_decompression_of_file___s_._Skipping.
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
push 0x410a60
call fcn.0040341a
add esp, 4
test eax, eax
jne 0x402d12
push 0x410a60
push str.An_error_occured_during_decompression_of_file___s_._Skipping.
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
push 0x410b00
call fcn.0040341a
add esp, 4
test eax, eax
jne 0x402d5a
push 0x410b00
push str.An_error_occured_during_decompression_of_file___s_._Skipping.
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
push 0x40f850
call fcn.0040131f
add esp, 4
test eax, eax
je 0x402ddd
push 0
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push str.COPY
call fcn.00401641
add esp, 0x10
test eax, eax
je 0x402ddd
lea edx, [ebp - 0x1c8]
push edx
call fcn.00403607
add esp, 4
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jne 0x402dc8
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push str.An_error_occured_during_memory_link._Aborting.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax]
or ecx, 1
mov edx, dword [ebp - 0x1d4]
mov dword [edx], ecx
jmp 0x402d6b
push str.EXECUTE
call fcn.0040131f
add esp, 4
test eax, eax
je 0x402e60
push 0
push 0x80
lea eax, [ebp - 0x1c8]
push eax
push 0x40f868
call fcn.00401641
add esp, 0x10
test eax, eax
je 0x402e60
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.00403607
add esp, 4
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jne 0x402e4b
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push str.An_error_occured_during_memory_link._Aborting.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx]
or eax, 0x10
mov ecx, dword [ebp - 0x1d4]
mov dword [ecx], eax
jmp 0x402dee
push 0x40f86c
call fcn.0040131f
add esp, 4
test eax, eax
je 0x402ee3
push 0
push 0x80
lea edx, [ebp - 0x1c8]
push edx
push str.REMOVE
call fcn.00401641
add esp, 0x10
test eax, eax
je 0x402ee3
lea eax, [ebp - 0x1c8]
push eax
call fcn.00403607
add esp, 4
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jne 0x402ece
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push str.An_error_occured_during_memory_link._Aborting.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x1d4]
mov dword [eax], edx
jmp 0x402e71
call fcn.00401260
push 0x4108c0
push str.Examining_resource_file.___s_
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x4105e0
mov ecx, dword [0x410784]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00401f7a
push 0x410700
push 0x410940
push 0x40f89c
push 0x4105e0
call fcn.00403e64
add esp, 0x10
push 0x410a60
push 0x4108c0
push str._s__s__WORK
lea edx, [ebp - 0x1c8]
push edx
call fcn.00403e64
add esp, 0x10
push 0x40f8b0
lea eax, [ebp - 0x1d0]
push eax
push 1
lea ecx, [ebp - 0x1c8]
push ecx
push 0x4105e0
call fcn.00401a0b
add esp, 0x14
cmp eax, 0xffffffff
jne 0x402fc6
mov edx, dword [ebp - 0x1d0]
push edx
push 0x40f8c0
push str.Could_not_create_process___s___d_.__Aborting.
push 0x4105e0
call fcn.00403e64
add esp, 0x10
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
lea eax, [ebp - 0x1c8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4031eb
push 1
push 0x40f8cc
call fcn.00401fb0
add esp, 8
push 0x40f8dc
call section..text
add esp, 4
test eax, eax
je 0x40306d
push 0x40f8e8
call fcn.0040131f
add esp, 4
test eax, eax
je 0x403059
push 0
push 0x80
lea ecx, [ebp - 0x1c8]
push ecx
push str.FILE
call fcn.00401641
add esp, 0x10
test eax, eax
je 0x403059
lea edx, [ebp - 0x1c8]
push edx
call fcn.00403607
add esp, 4
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jne 0x403044
call fcn.00401260
xor eax, eax
jmp 0x4031eb
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax]
or ecx, 2
mov edx, dword [ebp - 0x1d4]
mov dword [edx], ecx
jmp 0x402ffb
call fcn.00401260
push 1
push str.update.lst
call fcn.00401fb0
add esp, 8
push 0x410700
push 0x410940
push str._s_s
push 0x4105e0
call fcn.00403e64
add esp, 0x10
push 0x410a60
push str._s__DUMP
lea eax, [ebp - 0x1c8]
push eax
call fcn.00403e64
add esp, 0xc
push 0x40f914
lea ecx, [ebp - 0x1d0]
push ecx
push 1
lea edx, [ebp - 0x1c8]
push edx
push 0x4105e0
call fcn.00401a0b
add esp, 0x14
cmp eax, 0xffffffff
jne 0x403118
mov eax, dword [ebp - 0x1d0]
push eax
push 0x40f924
push str.Could_not_create_process___s___d_.__Aborting.
push 0x4105e0
call fcn.00403e64
add esp, 0x10
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push 0x4105e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
lea ecx, [ebp - 0x1c8]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4031eb
push 1
push str._tmpexec.___
call fcn.00401fb0
add esp, 8
push 0x40f940
call section..text
add esp, 4
test eax, eax
je 0x4031d2
push 0x40f94c
call fcn.0040131f
add esp, 4
test eax, eax
je 0x4031bc
push 0
push 0x80
lea edx, [ebp - 0x1c8]
push edx
push str.ENTRY
call fcn.00401641
add esp, 0x10
test eax, eax
je 0x4031bc
lea eax, [ebp - 0x1c8]
push eax
call fcn.00403607
add esp, 4
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
jne 0x4031a7
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push str.An_error_occured_during_memory_link._Aborting.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401260
xor eax, eax
jmp 0x4031eb
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ecx]
or edx, 8
mov eax, dword [ebp - 0x1d4]
mov dword [eax], edx
jmp 0x40314d
call fcn.00401260
push 1
push str.update.dmp
call fcn.00401fb0
add esp, 8
jmp 0x4031e6
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.11d
push str.Warning.__Could_not_open_cleanup_configuration_file.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00403eed
mov esp, ebp
pop ebp
ret