Function at 0x422a00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a950
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5645bc]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0045b4d9
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004237a0
mov byte [ebp - 4], 2
push 0x514b70
push 1
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00422e00
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x70]
push eax
call fcn.00422e90
add esp, 8
mov byte [ebp - 0x4d], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00413750
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x422a9e
push 0x514b74
lea ecx, [ebp - 0x14]
call fcn.00422d80
push 0x514b78
lea ecx, [ebp - 0x14]
call fcn.00422d80
push 0
lea ecx, [ebp - 0x14]
call fcn.0042e2c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045b588
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422c13
lea ecx, [ebp - 0x2c]
call fcn.0045b1ae
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.0045b477
test eax, eax
jne 0x422b8c
lea ecx, [ebp - 0x2c]
call fcn.00423780
test eax, eax
jne 0x422b8c
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0045b85c
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
call fcn.0042e2c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401c90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00413750
push 0x514b7c
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00407e20
add esp, 8
movzx edx, al
test edx, edx
je 0x422b55
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00401cd0
jmp 0x422ac1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0045b7cb
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.0042e2c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x5c]
call fcn.00413750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00401cd0
jmp 0x422c0e
lea ecx, [ebp - 0x2c]
call fcn.0045b477
test eax, eax
je 0x422b9f
jmp 0x422ac1
lea ecx, [ebp - 0x2c]
call fcn.00423780
test eax, eax
je 0x422c0e
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0045b7cb
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x14]
call fcn.004237c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00413750
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004237a0
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x68]
call fcn.00422a00
lea ecx, [ebp - 0x14]
call fcn.0042e2c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x422ac1
lea ecx, [ebp + 8]
call fcn.0042e2c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00413750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0045b4ff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00413750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00463ee8
mov esp, ebp
pop ebp
ret 4