Function at 0x4023ee
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x40f9c0]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x410298]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb8], 0
push 2
call fcn.00403744
add esp, 4
mov dword [ebp - 8], eax
push 1
call fcn.00403744
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc0], 0
je 0x4025e3
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xb8]
add edx, 1
push edx
push str.Decompressing_file__d_of__d.
push 0x4105e0
call fcn.00403e64
add esp, 0x10
push 0x4105e0
mov eax, dword [0x410784]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00401f7a
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
and edx, 0x20
test edx, edx
je 0x40249f
push 1
mov eax, dword [ebp - 0xc0]
add eax, 4
push eax
call fcn.00401fb0
add esp, 8
jmp 0x4025be
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
and edx, 0x10
test edx, edx
je 0x4024f8
mov eax, dword [ebp - 0xc0]
add eax, 4
push eax
push 0x40f6cc
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00403e64
add esp, 0xc
push 0x40f6d0
push 0
push 1
lea edx, [ebp - 0xb0]
push edx
call fcn.004017c0
add esp, 0x10
push 1
push str._tmpexec.tmp
call fcn.00401fb0
add esp, 8
jmp 0x4025be
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
jne 0x40251a
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
and eax, 1
test eax, eax
je 0x4025be
mov ecx, dword [ebp - 0xc0]
add ecx, 4
push ecx
call fcn.0040341a
add esp, 4
test eax, eax
jne 0x402575
mov edx, dword [ebp - 0xc0]
add edx, 4
push edx
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]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
or ecx, 4
mov edx, dword [ebp - 0xc0]
mov dword [edx], ecx
jmp 0x4025be
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x88]
mov dword [0x410290], ecx
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x88]
mov dword [0x410294], eax
push 0x410290
mov ecx, dword [ebp - 0xc0]
add ecx, 4
push ecx
call fcn.00404211
add esp, 8
mov edx, dword [ebp - 0xb8]
add edx, 1
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x8c]
mov dword [ebp - 0xc0], ecx
cmp dword [0x41029c], 0
je 0x4025de
jmp 0x40293f
jmp 0x402431
push str.Processing_resource_files.
push 0x4105e0
call fcn.00403e64
add esp, 8
push 0x4105e0
mov edx, dword [0x410784]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
push 0x40b
mov eax, dword [0x410a4c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x3f2
mov ecx, dword [0x410a4c]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 8], 0
je 0x40284e
mov edx, dword [ebp - 8]
push edx
push str.Processing__d_resource_files.
push 0x4105e0
call fcn.00403e64
add esp, 0xc
push 0x4105e0
mov eax, dword [0x410784]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 8]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
push edx
push 0
push 0x401
mov eax, dword [0x410a44]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xb8], 0
mov ecx, dword [0x410298]
mov dword [ebp - 0xc0], ecx
push 0x20
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.004039a0
add esp, 0xc
mov dword [ebp - 0xbc], 0
push 0
push 8
push 0x404
mov eax, dword [0x410a44]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0xc0], 0
je 0x4027d7
call fcn.00401f7a
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
and edx, 2
test edx, edx
je 0x4027b2
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
and ecx, 4
test ecx, ecx
jne 0x4027b2
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xb8]
add eax, 1
push eax
push str.Processing_resource_file__d_of__d.
push 0x4105e0
call fcn.00403e64
add esp, 0x10
push 0x4105e0
mov ecx, dword [0x410784]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp - 0xbc], 8
je 0x402767
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xc0]
mov dword [ebp + edx*4 - 0x28], eax
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xbc], ecx
cmp dword [ebp - 0xbc], 8
jne 0x4027b2
mov edx, dword [ebp - 0xb8]
add edx, 8
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402299
add esp, 8
mov dword [ebp - 0xbc], 0
push 0
push 0
push 0x405
mov edx, dword [0x410a44]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x8c]
mov dword [ebp - 0xc0], ecx
cmp dword [0x41029c], 0
je 0x4027d2
jmp 0x40293f
jmp 0x4026d5
cmp dword [ebp - 0xbc], 0
je 0x40283f
push 0
mov edx, dword [ebp - 0xbc]
push edx
push 0x404
mov eax, dword [0x410a44]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xb8]
add ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xbc]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00402299
add esp, 8
mov dword [ebp - 0xbc], 0
push 0
push 0
push 0x405
mov ecx, dword [0x410a44]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x40f750
call fcn.00401fb0
add esp, 8
push 0x410940
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.Cleaning_up.
push 0x4105e0
call fcn.00403e64
add esp, 8
push 0x4105e0
mov edx, dword [0x410784]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x410298]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x40291b
call fcn.00401f7a
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
and edx, 8
test edx, edx
je 0x402904
push 1
mov eax, dword [ebp - 0xc0]
add eax, 4
push eax
call fcn.00401fb0
add esp, 8
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x402904
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x88]
push eax
push str.Could_not_delete_file:__s___d_
push 0x4105e0
call fcn.00403e64
add esp, 0x10
push 0x4105e0
mov ecx, dword [0x410784]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x8c]
mov dword [ebp - 0xc0], eax
jmp 0x402888
push str.All_done.
push 0x4105e0
call fcn.00403e64
add esp, 8
push 0x4105e0
mov ecx, dword [0x410784]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp + 4]
call fcn.00403eed
mov esp, ebp
pop ebp
ret