Function at 0x41b780
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449400
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4581b0]
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.0041c390
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], 4
jae 0x41b7d3
lea edi, [ebp - 0x4c]
call fcn.00407340
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x41b853
lea ecx, [eax - 4]
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebp - 0x68]
call fcn.0040db10
mov byte [ebp - 4], 1
push 4
push 0x44d8a0
lea esi, [ebp - 0x30]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
call fcn.00401aa0
mov eax, esi
lea ecx, [ebp - 0x68]
call fcn.0042f615
test eax, eax
mov esi, 8
setne byte [ebp - 0x69]
cmp dword [ebp - 0x18], esi
jb 0x41b832
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00433114
add esp, 4
cmp byte [ebp - 0x69], bl
je 0x41b83f
lea edi, [ebp - 0x4c]
call fcn.00407340
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x41b853
mov edx, dword [ebp - 0x64]
push edx
call fcn.00433114
add esp, 4
or esi, 0xffffffff
cmp dword [ebp - 0x38], ebx
mov dword [ebp - 0x74], esi
je 0x41b9d3
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.0040a780
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x41b88f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x1c], ebx
je 0x41b971
cmp dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
jae 0x41b8aa
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 0x41b8e3
mov edi, dword [ebp - 0x70]
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x40]
lea eax, [ebp - 0x30]
call fcn.004019b0
jmp 0x41b974
mov edx, dword [ebp - 0x7c]
push edx
mov ebx, str.Setup_2345.exe
lea esi, [ebp - 0x68]
call fcn.0040a6d0
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004019b0
mov esi, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], esi
jb 0x41b921
mov eax, dword [ebp - 0x64]
push eax
call fcn.00433114
add esp, 4
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x41b92c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x41b93e
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 0x41b96f
mov ecx, dword [ebp - 0x70]
push 0xffffffffffffffff
push 0
add ecx, 0x40
lea eax, [ebp - 0x30]
call fcn.004019b0
xor ebx, ebx
mov edi, dword [ebp - 0x70]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x41b989
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00433114
add esp, 4
cmp esi, 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
je 0x41b9d6
mov ecx, dword [ebp - 0x78]
push esi
mov edx, edi
mov byte [ebp - 4], 4
call fcn.0041baa0
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 0x41ba25
cmp dword [edi + 0x58], 8
jb 0x41ba19
mov edi, dword [edi + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41ba33
mov edi, dword [ebp - 0x70]
cmp dword [edi], ebx
je 0x41ba05
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x78], esp
push 8
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x44d8e0
mov word [esi + 4], bx
call fcn.00401aa0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebp - 0x34], 8
jb 0x41ba7f
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00433114
add esp, 4
jmp 0x41ba7f
add edi, 0x44
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41ba33
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x40]
lea ecx, [edi + 8]
call fcn.004019b0
cmp dword [ebp - 0x34], 8
jb 0x41ba45
mov edx, dword [ebp - 0x48]
push edx
call fcn.00433114
add esp, 4
mov al, byte [ebp - 0x69]
jmp 0x41ba81
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.004337a7
mov esp, ebp
pop ebp
ret 4