Function at 0x442820
Capabilities:
Delete file
Get common file path
Hide graphical window
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49e3e1
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [0x4c44d8]
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x4c44d8
mov dword [esp + 0x2c], esi
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
xor eax, eax
push 0x21a
push eax
lea ecx, [esp + 0x3e]
push ecx
mov dword [esp + 0x274], 0
mov word [esp + 0x40], ax
call fcn.00454ce0
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
mov ebx, dword [esi]
add esp, 0xc
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax]
test ebx, ebx
je 0x4428c4
cmp ebx, eax
je 0x4428c9
call fcn.004541b9
cmp dword [esp + 0x18], esi
je 0x443371
cmp dword [ebp + 0xc], 0
je 0x4428f3
lea esi, [edi + 0x94]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x14]
add dword [edi + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x44299c
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442910
call fcn.004541b9
mov edx, dword [esp + 0x18]
cmp dword [edx + 0xc], 2
jne 0x4429af
mov eax, dword [edi + 0x44]
cmp byte [eax], 0
jne 0x4429af
test ebx, ebx
jne 0x4429a3
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442943
call fcn.004541b9
test ebx, ebx
jne 0x4429a7
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x44295c
call fcn.004541b9
test ebx, ebx
jne 0x4429ab
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442975
call fcn.004541b9
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x42c]
push edx
lea ecx, [eax + 0x1c]
push ecx
add eax, 0x224
push eax
push str._Setup_Ignored_File:__s__Func:__s__Param:__s__for_it_requires_run_on_Silent_mode
call fcn.0040cd20
add esp, 0x10
jmp 0x443349
mov eax, dword [ebx]
jmp 0x442902
mov eax, dword [ebx]
jmp 0x442935
mov eax, dword [ebx]
jmp 0x44294e
mov eax, dword [ebx]
jmp 0x442967
test ebx, ebx
jne 0x442a58
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x4429cc
call fcn.004541b9
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xc], 1
jne 0x442a6b
mov ecx, dword [edi + 0x44]
cmp byte [ecx], 0
je 0x442a6b
test ebx, ebx
jne 0x442a5f
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x4429ff
call fcn.004541b9
test ebx, ebx
jne 0x442a63
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442a18
call fcn.004541b9
test ebx, ebx
jne 0x442a67
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x442a31
call fcn.004541b9
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x42c]
push ecx
lea edx, [eax + 0x1c]
push edx
add eax, 0x224
push eax
push str._Setup_Ignored_File:__s__Func:__s__Param:__s__for_it_requires_run_on_No_Silent_mode
call fcn.0040cd20
add esp, 0x10
jmp 0x443349
mov eax, dword [ebx]
jmp 0x4429be
mov eax, dword [ebx]
jmp 0x4429f1
mov eax, dword [ebx]
jmp 0x442a0a
mov eax, dword [ebx]
jmp 0x442a23
test ebx, ebx
jne 0x442b15
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442a88
call fcn.004541b9
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x14], 1
jne 0x442b28
mov eax, dword [edi + 0x44]
cmp byte [eax + 1], 0
je 0x442b28
test ebx, ebx
jne 0x442b1c
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442abc
call fcn.004541b9
test ebx, ebx
jne 0x442b20
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x442ad5
call fcn.004541b9
test ebx, ebx
jne 0x442b24
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442aee
call fcn.004541b9
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x42c]
push edx
lea ecx, [eax + 0x1c]
push ecx
add eax, 0x224
push eax
push str._Setup_Ignored_File:__s__Func:__s__Param:__s__for_it_requires_run_on_Normal_mode
call fcn.0040cd20
add esp, 0x10
jmp 0x443349
mov eax, dword [ebx]
jmp 0x442a7a
mov eax, dword [ebx]
jmp 0x442aae
mov eax, dword [ebx]
jmp 0x442ac7
mov eax, dword [ebx]
jmp 0x442ae0
test ebx, ebx
jne 0x442bd2
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x442b45
call fcn.004541b9
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 2
jne 0x442be5
mov ecx, dword [edi + 0x44]
cmp byte [ecx + 1], 0
jne 0x442be5
test ebx, ebx
jne 0x442bd9
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x442b79
call fcn.004541b9
test ebx, ebx
jne 0x442bdd
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442b92
call fcn.004541b9
test ebx, ebx
jne 0x442be1
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x442bab
call fcn.004541b9
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x42c]
push ecx
lea edx, [eax + 0x1c]
push edx
add eax, 0x224
push eax
push str._Setup_Ignored_File:__s__Func:__s__Param:__s__for_it_requires_run_on_Overwrite_mode
call fcn.0040cd20
add esp, 0x10
jmp 0x443349
mov eax, dword [ebx]
jmp 0x442b37
mov eax, dword [ebx]
jmp 0x442b6b
mov eax, dword [ebx]
jmp 0x442b84
mov eax, dword [ebx]
jmp 0x442b9d
test ebx, ebx
jne 0x442c8f
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442c02
call fcn.004541b9
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x14], 3
jne 0x442ca2
cmp dword [edi + 0x358], 0
je 0x442ca2
test ebx, ebx
jne 0x442c96
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442c36
call fcn.004541b9
test ebx, ebx
jne 0x442c9a
call fcn.004541b9
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x442c4f
call fcn.004541b9
test ebx, ebx
jne 0x442c9e
call fcn.004541b9
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x442c68
call fcn.004541b9
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x42c]
push edx
lea ecx, [eax + 0x1c]
push ecx
add eax, 0x224
push eax
push str._Setup_Ignored_File:__s__Func:__s__Param:__s__for_it_requires_run_on_Normal_mode_but_in_Reinstall_mode
call fcn.0040cd20
add esp, 0x10
jmp 0x443349
mov eax, dword [ebx]
jmp 0x442bf4
mov eax, dword [ebx]
jmp 0x442c28
mov eax, dword [ebx]
jmp 0x442c41
mov eax, dword [ebx]
jmp 0x442c5a
mov edx, dword [0x4c44d8]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c44d8
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x268], 1
test ebx, ebx
jne 0x442ced
call fcn.004541b9
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, dword [eax + 0x14]
jne 0x442cda
call fcn.004541b9
mov eax, dword [esi + 0x10]
cmp eax, 4
ja case.default.0x442ce6
jmp dword [eax*4 + 0x4433c4]
mov eax, dword [ebx]
jmp 0x442ccc
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f], 1
call fcn.0043e010
cmp word [eax + 0x62c], 0
lea ecx, [esp + 0x14]
je 0x442d23
call fcn.0043e010
add eax, 0x62c
push eax
lea ecx, [esp + 0x24]
call fcn.0040ee40
jmp 0x442d81
call fcn.0043e010
cmp word [eax + 0x424], 0
lea ecx, [esp + 0x14]
je 0x442d64
call fcn.0043e010
add eax, 0x424
push eax
lea ecx, [esp + 0x18]
call fcn.0043e010
add eax, 0x21c
push eax
lea ecx, [esp + 0x28]
push str._s__s
push ecx
call fcn.0040e7e0
add esp, 0x10
jmp 0x442d81
call fcn.0043e010
add eax, 0x424
push eax
lea edx, [esp + 0x24]
push 0x4b7338
push edx
call fcn.0040e7e0
add esp, 0xc
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jle 0x442dbd
lea esi, [edi + 0x24]
push esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x20]
lea ecx, [edi + 0x20]
push edx
mov byte [esp + 0x26c], 2
call fcn.0040e240
push esi
mov byte [esp + 0x26c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xd
lea ecx, [esp + 0x18]
call fcn.0043e010
add eax, 0x424
push eax
push str._shutdowntray
call fcn.0045600f
add esp, 0xc
test eax, eax
jne 0x442de4
cmp byte [edi + 0xa], al
je 0x442e4c
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x424
push eax
lea ecx, [esp + 0x18]
call fcn.0043e010
add eax, 0x21c
push eax
push str._Setup_Exec__s__Param__s
call fcn.0040cd20
add esp, 0xc
lea eax, [esp + 0x1f]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043dfe0
mov ecx, dword [edi]
push eax
call fcn.004393b0
movzx edx, byte [esp + 0x1f]
push edx
lea ecx, [esp + 0x18]
call fcn.0043e010
add eax, 0x21c
push eax
push str._Setup_Exec__s_and_it_returns__d
call fcn.0040cd20
add esp, 0xc
cmp byte [esp + 0x1f], 0
jne case.default.0x442ce6
lea ecx, [esp + 0x20]
call fcn.0040da70
lea ecx, [esp + 0x24]
call fcn.0040da70
mov eax, 1
jmp 0x44339e
lea ecx, [esp + 0x14]
call fcn.0043e010
cmp word [eax + 0x62c], 0
je 0x442e9e
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x62c
push eax
lea ecx, [esp + 0x24]
call fcn.0040ee40
push str.CheckLoadSectxSpRule
lea ecx, [esp + 0x18]
call fcn.0043e010
add eax, 0x14
push eax
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x442ec1
cmp byte [edi + 0xa], al
je 0x442f3f
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
lea ecx, [esp + 0x18]
call fcn.0043e010
add eax, 0x21c
push eax
push str._Setup_Run_DLL__s_Func__s
call fcn.0040cd20
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
lea ecx, [esp + 0x18]
call fcn.0043e010
add eax, 0x21c
push eax
mov ecx, edi
call fcn.004425c0
mov esi, eax
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], esi
call fcn.0043e010
add eax, 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.0043e010
add eax, 0x21c
push eax
push str._Setup_Run_DLL__s_Func__s__return__d
call fcn.0040cd20
add esp, 0x10
jmp 0x442f43
mov esi, dword [esp + 0x28]
cmp esi, 1
je 0x442e57
cmp esi, 2
jne case.default.0x442ce6
mov byte [edi + 9], 1
jmp case.default.0x442ce6
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0043e010
mov ecx, dword [edi]
add eax, 0x21c
push eax
call fcn.00437b40
push 0x21c
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.00454ce0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.00455578
add esp, 0x18
lea ecx, [esp + 0x14]
call fcn.0043e010
mov ecx, 0x31
cmp cx, word [eax + 0x424]
jne 0x442fdc
lea ecx, [esp + 0x14]
call fcn.0043e010
xor edx, edx
cmp dx, word [eax + 0x426]
jne 0x442fdc
mov ecx, dword [edi]
lea eax, [esp + 0x34]
push eax
call fcn.004348c0
jmp case.default.0x442ce6
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne case.default.0x442ce6
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp case.default.0x442ce6
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x21c
push eax
push str._Setup_Kill_process__s
call fcn.0040cd20
add esp, 8
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x21c
push eax
call fcn.00421970
jmp 0x44331e
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.Hips
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x44305b
mov byte [edi + 0xa], 1
jmp case.default.0x442ce6
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.Hide
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x44309a
push str._Setup_OP_Hide
call fcn.0040cd20
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
add esp, 4
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x442ce6
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.Show
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x4430f1
push str._Setup_OP_Show
call fcn.0040cd20
mov eax, dword [edi + 0x44]
add esp, 4
cmp byte [eax], 0
jne 0x4430e7
cmp dword [edi + 0x358], 0
jne 0x4430e7
mov edx, dword [eax + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x442ce6
push 0x4a5cac
jmp 0x443319
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.MsgBox
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x443141
push str._Setup_OP_MsgBox
call fcn.0040cd20
add esp, 4
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.0043e010
add eax, 0x62c
push eax
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp case.default.0x442ce6
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.Wait
call fcn.004550e9
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
jne 0x44318f
call fcn.0043e010
add eax, 0x424
push eax
call fcn.00454efb
mov esi, eax
push esi
push str._Setup_OP_Wait__dms
call fcn.0040cd20
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.default.0x442ce6
call fcn.0043e010
add eax, 0x14
push eax
push str.SetCurDir
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x443225
lea edx, [edi + 0x14c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0043e010
mov ecx, dword [edi]
add eax, 0x424
push eax
call fcn.00437b40
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x44320e
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
mov dword [edi + 0x354], eax
mov eax, dword [esp + 0x28]
push eax
push str._Setup_SetCurDir__s__ret_d
call fcn.0040cd20
add esp, 0xc
jmp case.default.0x442ce6
mov ecx, dword [esp + 0x24]
push ecx
push str._Setup_Cannot_set_cur_dir__for__s_is_not_exists
call fcn.0040cd20
add esp, 8
jmp case.default.0x442ce6
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.RestoreDir
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x44327f
cmp dword [edi + 0x354], eax
je 0x443275
lea esi, [edi + 0x14c]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
push str._Setup_RestoreDir__s
call fcn.0040cd20
add esp, 8
mov dword [edi + 0x354], 0
jmp case.default.0x442ce6
push str._Setup_Cannot_Restore_for_no_cur_dir_changed
jmp 0x443319
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.DisableWow64
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x4432c8
call fcn.004115c0
test eax, eax
je 0x4432c1
push str._Setup_DisableWow64
call fcn.0040cd20
lea edx, [edi + 0x148]
push edx
call fcn.00421c10
add esp, 8
jmp case.default.0x442ce6
push str._Setup_Not_64_sys__ignore_DisableWow64
jmp 0x443319
lea ecx, [esp + 0x14]
call fcn.0043e010
add eax, 0x14
push eax
push str.RestoreWow64
call fcn.004550e9
add esp, 8
test eax, eax
jne case.default.0x442ce6
call fcn.004115c0
test eax, eax
je 0x443314
push str._Setup_RestoreWow64
call fcn.0040cd20
mov eax, dword [edi + 0x148]
push eax
call fcn.00421c50
add esp, 8
mov dword [edi + 0x148], 0
jmp case.default.0x442ce6
push str._Setup_Not_64_sys__ignore_RestoreWow64
call fcn.0040cd20
add esp, 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x268], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443349
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x44336d
call fcn.004541b9
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, dword [eax + 0x14]
jne 0x443362
call fcn.004541b9
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
jmp 0x4428b3
mov eax, dword [ebx]
jmp 0x443354
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x268], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44339c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00454cc7
mov esp, ebp
pop ebp
ret 8