Function at 0x40232d
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x40e470]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
push 2
call fcn.004034ec
add esp, 4
mov dword [ebp - 0x10], eax
push 1
call fcn.004034ec
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x4024d8
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
push str.Decompressing_file__d_of__d.
push 0x40e7c0
call fcn.00403b6c
add esp, 0x10
push 0x40e7c0
mov eax, dword [0x40ee80]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00402010
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
and edx, 0x20
test edx, edx
je 0x4023c1
push 1
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00402046
add esp, 8
jmp 0x4024b9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
and edx, 0x10
test edx, edx
je 0x402414
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0x40d684
lea ecx, [ebp - 0x94]
push ecx
call fcn.00403b6c
add esp, 0xc
push 0x40d688
push 0
push 1
lea edx, [ebp - 0x94]
push edx
call fcn.004017c0
add esp, 0x10
push 1
push str._tmpexec.tmp
call fcn.00402046
add esp, 8
jmp 0x4024b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
jne 0x402430
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
and eax, 1
test eax, eax
je 0x4024b9
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.004031e7
add esp, 4
test eax, eax
jne 0x40247f
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
push str.An_error_occured_during_decompression_of_file___s_._Skipping.
push 0x40e7c0
call fcn.00403b6c
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.10d
push 0x40e7c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
or ecx, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], ecx
jmp 0x4024b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x88]
mov dword [0x40e358], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x88]
mov dword [0x40e35c], eax
push 0x40e358
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.00403c40
add esp, 8
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x8c]
mov dword [ebp - 0xc], ecx
cmp dword [0x40e474], 0
je 0x4024d3
jmp 0x402772
jmp 0x40235f
push str.Processing_resource_files.
push 0x40e7c0
call fcn.00403b6c
add esp, 8
push 0x40e7c0
mov edx, dword [0x40ee80]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
push 0x40b
mov eax, dword [0x40e964]
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 [0x40e964]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x10], 0
je 0x4026a7
mov edx, dword [ebp - 0x10]
push edx
push str.Processing__d_resource_files.
push 0x40e7c0
call fcn.00403b6c
add esp, 0xc
push 0x40e7c0
mov eax, dword [0x40ee80]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
shl ecx, 0x10
push ecx
push 0
push 0x401
mov edx, dword [0x40e8c8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x14], 0
mov eax, dword [0x40e470]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402698
call fcn.00402010
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
and edx, 2
test edx, edx
je 0x402679
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
and ecx, 4
test ecx, ecx
jne 0x402679
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
push str.Processing_resource_file__d_of__d.
push 0x40e7c0
call fcn.00403b6c
add esp, 0x10
push 0x40e7c0
mov ecx, dword [0x40ee80]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x40ee00
push 0x40ece0
push 0x40d708
push 0x40e7c0
call fcn.00403b6c
add esp, 0x10
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
push 0x40e740
push str._s__s__ENCODE
lea eax, [ebp - 0x94]
push eax
call fcn.00403b6c
add esp, 0x10
push 0x40d720
push 0
push 1
lea ecx, [ebp - 0x94]
push ecx
push 0x40e7c0
call fcn.00401906
add esp, 0x14
push 1
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.00402046
add esp, 8
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
push 0
push 0
push 0x405
mov ecx, dword [0x40e8c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x8c]
mov dword [ebp - 0xc], eax
cmp dword [0x40e474], 0
je 0x402693
jmp 0x402772
jmp 0x402592
push 1
push 0x40d730
call fcn.00402046
add esp, 8
push 0x40ece0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.Cleaning_up.
push 0x40e7c0
call fcn.00403b6c
add esp, 8
push 0x40e7c0
mov ecx, dword [0x40ee80]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x40e470]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x40274f
call fcn.00402010
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
and ecx, 8
test ecx, ecx
je 0x402741
push 1
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.00402046
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402741
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x88]
push edx
push str.Could_not_delete_file:__s___d_
push 0x40e7c0
call fcn.00403b6c
add esp, 0x10
push 0x40e7c0
mov eax, dword [0x40ee80]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0xc], edx
jmp 0x4026df
push str.All_done.
push 0x40e7c0
call fcn.00403b6c
add esp, 8
push 0x40e7c0
mov eax, dword [0x40ee80]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esp, ebp
pop ebp
ret