Function at 0x402e3e
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x41e068]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x38
mov eax, 0x414364
call fcn.00407979
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push str.InstallEXE
push eax
call fcn.0040388d
call fcn.00405359
pop ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push dword [0x41fe38]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, 0x104
push edi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x28], ebx
mov byte [0x4201e8], bl
call fcn.00406be0
add esp, 0xc
push ebx
push 0x1a
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040388d
push 0x416d50
mov esi, 0x4201f0
push esi
mov dword [ebp - 4], ebx
call fcn.00403958
push str.E_centives
push dword [ebp - 0x34]
mov ecx, esi
push str._s_s
call fcn.00404836
add esp, 0xc
push dword [0x4201f0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402f12
push ebx
push dword [0x4201f0]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [0x4201f0]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
push ebx
mov edi, 0x41ffe0
push edi
call fcn.00406be0
add esp, 0xc
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [0x41f234]
mov ebx, 0x41f234
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
push str.ini.ini
push edi
push str._s_s
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00404836
push str.7zDecode.exe
push 0x97
call fcn.00403439
push str.BinaryFiles.7z
push 0x96
call fcn.00403439
mov eax, dword [0x41f234]
add esp, 0x1c
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.7zDecode.exe_e_BinaryFiles.7z
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404836
lea eax, [ebp - 0x10]
push eax
call fcn.00403502
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004013a9
mov eax, dword [ebp - 0x38]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x2c], eax
call fcn.0040454b
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
call fcn.004023ac
mov eax, dword [0x41f234]
pop ecx
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.00403958
call fcn.00404167
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 4
push 0x416e74
lea eax, [ebp - 0x30]
push eax
call fcn.004038d2
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
lea ecx, [ebp - 0x44]
push eax
push ecx
push 0x420208
mov edi, ecx
call fcn.004040f7
call fcn.00401772
cmp dword [ebp + 0x214], 1
jne 0x403215
test eax, eax
setne al
cmp al, 1
mov byte [0x4201e8], al
jne 0x4030ef
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.Iexplore.exe
push eax
call fcn.0040388d
lea ebx, [ebp - 0x20]
call fcn.00401591
pop ecx
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.00403917
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004013a9
jmp 0x4030e6
push 0x2035
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.Confirm
push eax
call fcn.0040388d
push ecx
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x24], esp
push str.In_order_to_continue_installation_we_have_to_close_your_Internet_Explorer_window_s_.Click_Retry_to_close_your_Internet_Explorer_window_s__or_click_Cancel_to_discontinue_installation.
push eax
call fcn.0040388d
mov byte [ebp - 4], 5
call fcn.00401d45
add esp, 0xc
cmp eax, 2
je 0x4031f5
call fcn.004016bd
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040166e
cmp al, 1
je 0x403096
and dword [ebp - 0x20], 0
and dword [ebp - 0x10], 0
mov edi, 0x41aaa8
cmp dword [ebp - 0x20], 0
jne 0x4031ac
lea eax, [ebp - 0x24]
push edi
push eax
mov ecx, esi
call fcn.00403c85
add esp, 4
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x420218
push ecx
mov ecx, eax
call fcn.00403c34
pop ecx
pop ecx
call fcn.004028c4
mov ebx, eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
pop ecx
add eax, 0xfffffff0
call fcn.004013a9
lea eax, [ebp - 0x18]
push edi
push eax
mov ecx, esi
call fcn.00403c85
add esp, 4
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x420230
push ecx
mov ecx, eax
call fcn.00403c34
pop ecx
pop ecx
call fcn.00402cd3
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.004013a9
push dword [0x41fe38]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x40319f
mov dword [ebp - 0x20], 1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jl 0x4030fc
cmp byte [0x4201e8], 1
jne 0x403324
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x44]
call fcn.00403d6b
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x30]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.0040454b
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
call fcn.004013c1
add esp, 0x10
jmp 0x403324
push ecx
mov dword [ebp - 0x18], esp
mov eax, esp
push str.InstallEXE
push eax
call fcn.0040388d
call fcn.00405359
or dword [ebp - 0x28], 0xffffffff
pop ecx
jmp 0x403330
test eax, eax
setne al
cmp al, 1
mov byte [0x4201e8], al
je 0x403422
and dword [ebp - 0x10], 0
mov edi, 0x41aaa8
test ebx, ebx
jne 0x403324
lea eax, [ebp - 0x18]
push edi
push eax
mov ecx, esi
call fcn.00403c85
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x420218
push ecx
mov ecx, eax
call fcn.00403c34
pop ecx
pop ecx
call fcn.004027b1
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.004013a9
mov eax, dword [0x4201f0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov ebx, esp
call fcn.0040454b
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x420218]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov ebx, esp
call fcn.0040454b
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
call fcn.004025ed
mov eax, dword [0x4201f0]
pop ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov ebx, esp
call fcn.0040454b
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xe
mov eax, dword [0x420230]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov ebx, esp
call fcn.0040454b
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
call fcn.004025ed
pop ecx
pop ecx
mov ebx, eax
call fcn.00402c83
push dword [0x4201f0]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [0x41fe38]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jl 0x403230
push dword [0x41fe38]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.BinaryFiles.7z
call esi
push str.ini.ini
call esi
push str.7zDecode.exe
call esi
push 0x416f30
push dword [0x4201f4]
call fcn.00405f81
test eax, eax
pop ecx
pop ecx
je 0x403368
push str.Selfdel.dll
call esi
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.InstallEXE
push eax
call fcn.0040388d
call fcn.00405359
mov eax, dword [ebp - 0x30]
pop ecx
add eax, 0xfffffff0
call fcn.004013a9
lea esi, [ebp - 0x44]
call fcn.0040417f
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004013a9
mov eax, dword [ebp - 0x2c]
call fcn.004013a9
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.004013a9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00405a1a
add ebp, 0x20c
leave
ret
push 0x2035
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.Confirm
push eax
call fcn.0040388d
push ecx
mov byte [ebp - 4], 0xb
mov eax, esp
mov dword [ebp - 0x18], esp
push str.In_order_to_continue_uninstallation_we_have_to_close_your_Internet_Explorer_window_s_.Click_Retry_to_close_your_Internet_Explorer_window_s__or_click_Cancel_to_discontinue_uninstallation.
push eax
call fcn.0040388d
mov byte [ebp - 4], 5
call fcn.00401d45
add esp, 0xc
cmp eax, 2
je 0x403430
call fcn.004016bd
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040166e
cmp al, 1
je 0x4033d6
jmp 0x403227
push ecx
mov dword [ebp - 0x14], esp
jmp 0x4031f9