Function at 0x450940
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527cac
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
push ebx
push esi
push edi
lea edi, [ebp - 0x1a8]
mov ecx, 0x67
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x57a2c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov ecx, 0x580a5c
call fcn.00401127
push eax
lea ecx, [ebp - 0x18]
call fcn.00401c1c
mov dword [ebp - 4], 0
call fcn.00401339
mov esi, esp
push 0x8007
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp esi, esp
call fcn.0049a060
push 0x580a6c
call fcn.004023b5
add esp, 4
cmp dword [ebp + 8], 1
jne 0x450a6d
lea ecx, [ebp - 0x24]
call fcn.004022e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040139d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040175d
push eax
lea ecx, [ebp - 0x3c]
call fcn.004020c7
lea ecx, [ebp - 0x3c]
call fcn.004013e3
test eax, eax
jl 0x450a0a
mov dword [ebp - 0x19c], 1
jmp 0x450a14
mov dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x450a4c
push 0x80004005
lea ecx, [ebp - 0x188]
call fcn.00401cb7
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
push 0x56a314
lea ecx, [ebp - 0x194]
push ecx
call fcn.0049a0a0
xor eax, eax
jne 0x4509f2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401591
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004016c2
jmp 0x450d03
push 0x580a74
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.004017f8
add esp, 8
movzx eax, al
test eax, eax
je 0x450ad4
push 0
mov ecx, 0x580b14
call fcn.00401127
push eax
lea ecx, [ebp - 0x58]
call fcn.004020bd
mov byte [ebp - 4], 3
push 2
push 0x580a64
push 0x580af8
push 1
lea eax, [ebp - 0x58]
push eax
call fcn.004015e1
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004021ad
jmp 0x450d03
push 0x580a60
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.004017f8
add esp, 8
movzx eax, al
test eax, eax
je 0x450bda
push 0
mov ecx, 0x580b14
call fcn.00401127
push eax
lea ecx, [ebp - 0x68]
call fcn.004020bd
mov byte [ebp - 4], 4
push 0x9e
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.00401e9c
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00402400
push 0x580a5c
push 0x542e90
call fcn.00402216
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.004015c8
add esp, 0xc
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1a0]
push edx
lea eax, [ebp - 0x170]
push eax
call fcn.00401ab4
add esp, 0xc
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1a8]
call fcn.00401127
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.0049a060
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x170]
call fcn.00401fcd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.00401fcd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004021ad
jmp 0x450d03
push 0x580a58
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.004017f8
add esp, 8
movzx eax, al
test eax, eax
je 0x450c39
push 0
mov ecx, 0x580b14
call fcn.00401127
push eax
lea ecx, [ebp - 0x78]
call fcn.004020bd
mov byte [ebp - 4], 7
push 0
push 0
push 1
lea eax, [ebp - 0x78]
push eax
call fcn.0040181b
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004021ad
jmp 0x450d03
push 0x580c04
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.004017f8
add esp, 8
movzx eax, al
test eax, eax
je 0x450c9f
push 0
mov ecx, 0x580b14
call fcn.00401127
push eax
lea ecx, [ebp - 0x88]
call fcn.004020bd
mov byte [ebp - 4], 8
push 0x9e
push 1
lea eax, [ebp - 0x88]
push eax
call fcn.004020e5
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004021ad
jmp 0x450d03
push 0x580a68
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax]
push edx
call fcn.004017f8
add esp, 8
movzx eax, al
test eax, eax
je 0x450d03
push 0
mov ecx, 0x580b14
call fcn.00401127
push eax
lea ecx, [ebp - 0x98]
call fcn.004020bd
mov byte [ebp - 4], 9
push 0x9e
push 1
lea eax, [ebp - 0x98]
push eax
call fcn.00401ab9
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.004021ad
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004017d0
mov eax, dword [ebp - 0x164]
push edx
mov ecx, ebp
push eax
lea edx, [0x450d54]
call fcn.0049a000
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1a8
cmp ebp, esp
call fcn.0049a060
mov esp, ebp
pop ebp
ret