Function at 0x40f1b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 0
cmp dword [ebp + 8], 0
je 0x40f225
mov eax, dword [ebp + 8]
push eax
call fcn.0040eac0
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f225
jmp 0x40f7db
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0x414114
push 0
call fcn.00402872
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f24c
jmp 0x40f7db
push 1
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 1]
imul ecx, ecx, 0x468
push ecx
call fcn.00402ea0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40f28e
mov dword [ebp - 0x30], 0x8007000e
mov edx, dword [ebp - 0x30]
push edx
push 0x359
push 0x414120
call fcn.00402f2c
jmp 0x40f7db
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 1]
imul ecx, ecx, 0xa8
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x35], 0
jmp 0x40f2b4
mov cl, byte [ebp - 0x35]
add cl, 1
mov byte [ebp - 0x35], cl
movzx edx, byte [ebp - 0x35]
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 2]
cmp edx, ecx
jge 0x40f30e
movzx edx, byte [ebp - 0x35]
shl edx, 4
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
push 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0040df40
add esp, 0xc
test eax, eax
je 0x40f30c
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040e020
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f30c
jmp 0x40f7db
jmp 0x40f2ab
cmp dword [ebp - 0x10], 0
jne 0x40f37d
mov byte [ebp - 0x3d], 0
jmp 0x40f323
mov dl, byte [ebp - 0x3d]
add dl, 1
mov byte [ebp - 0x3d], dl
movzx eax, byte [ebp - 0x3d]
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 2]
cmp eax, edx
jge 0x40f37d
movzx eax, byte [ebp - 0x3d]
shl eax, 4
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0040df40
add esp, 0xc
test eax, eax
je 0x40f37b
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.0040e020
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f37b
jmp 0x40f7db
jmp 0x40f31a
cmp dword [ebp + 0x14], 0
je 0x40f38d
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x45], 0
jmp 0x40f39c
mov cl, byte [ebp - 0x45]
add cl, 1
mov byte [ebp - 0x45], cl
movzx edx, byte [ebp - 0x45]
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 1]
cmp edx, ecx
jge 0x40f7d7
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
movzx ecx, byte [ebp - 0x45]
imul ecx, ecx, 0xa8
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x50], eax
movzx ecx, byte [ebp - 0x19]
imul ecx, ecx, 0x468
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58], ecx
cmp dword [ebp + 0xc], 0
je 0x40f3f4
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x6c], edx
jmp 0x40f3fb
mov dword [ebp - 0x6c], 0x414130
push 0
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0040248e
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f41d
jmp 0x40f7db
push 0x27
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x50]
add eax, 0x8c
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f445
jmp 0x40f7db
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 0x100
je 0x40f45f
mov dword [ebp - 0x54], 6
jmp 0x40f49c
cmp dword [ebp - 0x54], 7
je 0x40f49c
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x9c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.0040e3e0
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f49c
jmp 0x40f7db
cmp dword [ebp - 0x54], 0
jne 0x40f4a9
jmp 0x40f393
cmp dword [ebp - 0x54], 4
jne 0x40f519
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xa4]
and ecx, 0x20
jne 0x40f519
push 0x666
call fcn.00401df0
add esp, 4
mov dword [ebp - 0x30], eax
push 0
push 0
lea edx, [ebp - 0x34]
push edx
push 0x400
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jbe 0x40f509
push 0
push 0x10
push str.Install_Error
mov ecx, dword [ebp - 0x34]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxExW]
cmp dword [ebp - 0x30], 0
jge 0x40f519
jmp 0x40f7db
mov dl, byte [ebp - 0x19]
add dl, 1
mov byte [ebp - 0x19], dl
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0040ebb0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f545
jmp 0x40f7db
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x18]
push edx
push 0x104
mov eax, dword [ebp - 0x58]
add eax, 0x4e
push eax
call fcn.00401e30
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f574
jmp 0x40f7db
cmp dword [ebp - 0x10], 0
je 0x40f660
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 0x80
je 0x40f660
push 0
push str._TRANSFORMS_
lea eax, [ebp - 8]
push eax
call fcn.00402508
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f5b6
jmp 0x40f7db
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 4
je 0x40f638
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 1
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0040e520
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f5f8
jmp 0x40f7db
cmp dword [ebp - 0x10], 0
je 0x40f60e
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401f52
mov dword [ebp - 0x10], 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00402a82
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00402508
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f636
jmp 0x40f7db
jmp 0x40f660
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.00402a82
push eax
lea eax, [ebp - 8]
push eax
call fcn.00402508
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f660
jmp 0x40f7db
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 4
je 0x40f6e9
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0040e6b0
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f6a2
jmp 0x40f7db
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
push eax
push 0x104
mov ecx, dword [ebp - 0x58]
add ecx, 0x256
push ecx
call fcn.00401e30
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f6da
jmp 0x40f7db
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x460], 1
jmp 0x40f6ef
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 8
jne 0x40f71b
mov dword [ebp - 0x4c], 3
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xa4]
and ecx, 0x10
je 0x40f71b
mov edx, dword [ebp - 0x4c]
or edx, 0x40
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xa4]
and ecx, 1
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 0x200
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 0x10
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x50]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.0040ed40
add esp, 0x28
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x40f778
jmp 0x40f7d9
cmp dword [ebp - 0x30], 1
jne 0x40f7b5
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x460], 0
je 0x40f7b3
mov edx, dword [ebp - 0x58]
add edx, 0x256
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov word [ecx + 0x256], ax
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x460], 0
jmp 0x40f7c2
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x464], 1
cmp dword [ebp - 0x5c], 0
je 0x40f7d2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40f393
jmp 0x40f7db
jmp 0x40f7db
cmp dword [ebp - 0x30], 0
jge 0x40f8b9
push 0xbc2
call fcn.00401df0
add esp, 4
cmp eax, dword [ebp - 0x30]
je 0x40f8b9
push 0xbc3
call fcn.00401df0
add esp, 4
cmp eax, dword [ebp - 0x30]
je 0x40f8b9
push 0x669
call fcn.00401df0
add esp, 4
cmp eax, dword [ebp - 0x30]
je 0x40f8b9
mov byte [ebp - 0x61], 0
jmp 0x40f836
mov dl, byte [ebp - 0x61]
add dl, 1
mov byte [ebp - 0x61], dl
movzx eax, byte [ebp - 0x61]
movzx ecx, byte [ebp - 0x19]
cmp eax, ecx
jge 0x40f8b9
movzx edx, byte [ebp - 0x61]
imul edx, edx, 0x468
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x464], 0
je 0x40f87e
push 0
push 0
push 1
push 3
push 7
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x68]
push edx
call fcn.0040ed40
add esp, 0x28
mov eax, dword [ebp - 0x68]
movzx ecx, word [eax + 0x256]
test ecx, ecx
je 0x40f89c
mov edx, dword [ebp - 0x68]
add edx, 0x256
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x68]
movzx ecx, word [eax + 0x4e]
test ecx, ecx
je 0x40f8b4
mov edx, dword [ebp - 0x68]
add edx, 0x4e
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40f82d
cmp dword [ebp - 0x10], 0
je 0x40f8c9
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0
je 0x40f8d8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00402efa
cmp dword [ebp - 0x34], 0
je 0x40f8e8
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], 0
je 0x40f8f7
mov eax, dword [ebp - 0x18]
push eax
call fcn.00401f52
cmp dword [ebp - 0x10], 0
je 0x40f906
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00401f52
cmp dword [ebp - 0x24], 0
je 0x40f915
mov edx, dword [ebp - 0x24]
push edx
call fcn.00401f52
cmp dword [ebp - 0xc], 0
je 0x40f924
mov eax, dword [ebp - 0xc]
push eax
call fcn.00401f52
cmp dword [ebp - 8], 0
je 0x40f933
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401f52
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret