Function at 0x422940
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2748
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x64306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x10]
call fcn.00422ca0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], 0
je 0x4229ac
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x48]
mov al, byte [edx]
mov byte [ebp - 0x41], al
add dword [ebp - 0x48], 1
cmp byte [ebp - 0x41], 0
jne 0x42298f
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
jne 0x4229b3
xor al, al
jmp 0x422bcb
push 0xffffffffffffffff
push 0x627508
mov ecx, dword [ebp + 0x10]
call fcn.00422c40
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4229ff
mov edx, dword [ebp - 0x4c]
push edx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00422bf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x58]
call fcn.00422820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00425b70
mov dword [ebp - 0x30], 0
push 0x627510
mov ecx, dword [ebp + 0x10]
call fcn.00422ca0
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.0059a700
add esp, 0xc
cmp dword [ebp - 0x30], 0
jne 0x422a2d
xor al, al
jmp 0x422bcb
call fcn.00496250
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x422a42
xor al, al
jmp 0x422bcb
mov eax, dword [ebp + 0xc]
push eax
push 0x2712
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004994e0
add esp, 0xc
push 0
push 0x40
mov edx, dword [ebp - 0x40]
push edx
call fcn.004994e0
add esp, 0xc
push 0
push 0x51
mov eax, dword [ebp - 0x40]
push eax
call fcn.004994e0
add esp, 0xc
push 0
push 0x2a
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004994e0
add esp, 0xc
push 0x422750
push 0x4e2b
mov edx, dword [ebp - 0x40]
push edx
call fcn.004994e0
add esp, 0xc
mov eax, dword [ebp - 0x30]
push eax
push 0x2711
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004994e0
add esp, 0xc
push 1
push 0x29
mov edx, dword [ebp - 0x40]
push edx
call fcn.004994e0
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x40]
push eax
call fcn.004994e0
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x422b35
push 0
push 0x2b
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004994e0
add esp, 0xc
push 0x422790
push 0x4efb
mov edx, dword [ebp - 0x40]
push edx
call fcn.004994e0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x3c]
push eax
push 0x2749
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004994e0
add esp, 0xc
push 1
push 0x2d
mov edx, dword [ebp - 0x40]
push edx
call fcn.004994e0
add esp, 0xc
push 1
push 0x63
mov eax, dword [ebp - 0x40]
push eax
call fcn.004994e0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00496290
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x200002
mov eax, dword [ebp - 0x40]
push eax
call fcn.00496230
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00496210
add esp, 4
mov edx, dword [ebp - 0x30]
push edx
call fcn.0059aa64
add esp, 4
cmp dword [ebp - 0x5c], 0
je 0x422ba4
mov ecx, dword [ebp + 0x10]
call fcn.00422ca0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x422bcb
cmp dword [ebp - 0x14], 0xc8
jl 0x422bb6
cmp dword [ebp - 0x14], 0x190
jl 0x422bc9
mov ecx, dword [ebp + 0x10]
call fcn.00422ca0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x422bcb
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.0057e11e
mov esp, ebp
pop ebp
ret 0x10