Function at 0x401880
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548e38
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5a83f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], 0
je 0x4018ec
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x34]
mov al, byte [edx]
mov byte [ebp - 0x2d], al
add dword [ebp - 0x34], 1
cmp byte [ebp - 0x2d], 0
jne 0x4018cf
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
jne 0x4018f3
xor al, al
jmp 0x401b0d
mov edx, dword [0x59edb4]
push edx
push 0x598450
mov ecx, dword [ebp + 0x10]
call fcn.00401b80
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [0x59edb4]
je 0x401949
mov ecx, dword [ebp - 0x40]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00401b30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00401750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401c90
push 0x598458
mov ecx, dword [ebp + 0x10]
call fcn.00401be0
push eax
call fcn.004f2c69
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x40196f
xor al, al
jmp 0x401b0d
call fcn.004192f0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x401984
xor al, al
jmp 0x401b0d
mov ecx, dword [ebp + 0xc]
push ecx
push 0x2712
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041d730
add esp, 0xc
push 0
push 0x40
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041d730
add esp, 0xc
push 0
push 0x51
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041d730
add esp, 0xc
push 0
push 0x2a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041d730
add esp, 0xc
push 0x401690
push 0x4e2b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041d730
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
push 0x2711
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041d730
add esp, 0xc
push 1
push 0x29
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041d730
add esp, 0xc
push 1
push 0x34
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041d730
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x401a77
push 0
push 0x2b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041d730
add esp, 0xc
push 0x4016d0
push 0x4efb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041d730
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x5c]
push ecx
push 0x2749
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041d730
add esp, 0xc
push 1
push 0x2d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041d730
add esp, 0xc
push 1
push 0x63
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041d730
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00419350
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
push 0x200002
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004192d0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004192b0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
call fcn.004f2d0d
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x401ae6
mov ecx, dword [ebp + 0x10]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x401b0d
cmp dword [ebp - 0x3c], 0xc8
jl 0x401af8
cmp dword [ebp - 0x3c], 0x190
jl 0x401b0b
mov ecx, dword [ebp + 0x10]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x401b0d
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ec22
mov esp, ebp
pop ebp
ret 0x10