Function at 0x41a7f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447540
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4551b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], ecx
call fcn.0041b400
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], 4
jae 0x41a843
lea edi, [ebp - 0x4c]
call fcn.00407320
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x41a8c3
lea ecx, [eax - 4]
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebp - 0x68]
call fcn.0040cda0
mov byte [ebp - 4], 1
push 4
push 0x44b7f0
lea esi, [ebp - 0x30]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
call fcn.00401a90
mov eax, esi
lea ecx, [ebp - 0x68]
call fcn.0042d9a5
test eax, eax
mov esi, 8
setne byte [ebp - 0x69]
cmp dword [ebp - 0x18], esi
jb 0x41a8a2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00431474
add esp, 4
cmp byte [ebp - 0x69], bl
je 0x41a8af
lea edi, [ebp - 0x4c]
call fcn.00407320
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x41a8c3
mov edx, dword [ebp - 0x64]
push edx
call fcn.00431474
add esp, 4
or esi, 0xffffffff
cmp dword [ebp - 0x38], ebx
mov dword [ebp - 0x74], esi
je 0x41aa43
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x4c]
add eax, 0x24
push ecx
push eax
lea edi, [ebp - 0x30]
mov dword [ebp - 0x7c], eax
call fcn.0040a7a0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x41a8ff
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x1c], ebx
je 0x41a9e1
cmp dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
jae 0x41a91a
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x80
push 1
push ebx
push 1
push 0x40000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x74], eax
je 0x41a953
mov edi, dword [ebp - 0x70]
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x40]
lea eax, [ebp - 0x30]
call fcn.004019a0
jmp 0x41a9e4
mov edx, dword [ebp - 0x7c]
push edx
mov ebx, str.Setup_2345.exe
lea esi, [ebp - 0x68]
call fcn.0040a6f0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004019a0
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], esi
jb 0x41a991
mov eax, dword [ebp - 0x64]
push eax
call fcn.00431474
add esp, 4
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x41a99c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x41a9ae
lea eax, [ebp - 0x2c]
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x74], esi
je 0x41a9df
mov ecx, dword [ebp - 0x70]
push 0xffffffffffffffff
push 0
add ecx, 0x40
lea eax, [ebp - 0x30]
call fcn.004019a0
xor ebx, ebx
mov edi, dword [ebp - 0x70]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x41a9f9
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00431474
add esp, 4
cmp esi, 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
je 0x41aa46
mov ecx, dword [ebp - 0x78]
push esi
mov edx, edi
mov byte [ebp - 4], 4
call fcn.0041ab10
push esi
mov byte [ebp - 0x69], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x69], bl
mov dword [ebp - 0x74], 0xffffffff
jne 0x41aa95
cmp dword [edi + 0x58], 8
jb 0x41aa89
mov edi, dword [edi + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41aaa3
mov edi, dword [ebp - 0x70]
cmp dword [edi], ebx
je 0x41aa75
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x78], esp
push 8
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x44b830
mov word [esi + 4], bx
call fcn.00401a90
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebp - 0x34], 8
jb 0x41aaef
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00431474
add esp, 4
jmp 0x41aaef
add edi, 0x44
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41aaa3
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x40]
lea ecx, [edi + 8]
call fcn.004019a0
cmp dword [ebp - 0x34], 8
jb 0x41aab5
mov edx, dword [ebp - 0x48]
push edx
call fcn.00431474
add esp, 4
mov al, byte [ebp - 0x69]
jmp 0x41aaf1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00431b07
mov esp, ebp
pop ebp
ret 4