Function at 0x422a60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533719
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x35c], ebx
mov dword [ebp - 0x358], edi
call fcn.00457af0
add esp, 4
test eax, eax
je 0x422ab4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x70
call fcn.004616d1
add esp, 4
mov dword [ebp - 0x350], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x422ae0
mov ecx, eax
call fcn.0044ddd0
mov esi, eax
mov dword [ebp - 0x350], eax
jmp 0x422ae8
xor esi, esi
mov dword [ebp - 0x350], esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x422de0
push 0x8c
call fcn.004616d1
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x422b25
push str.Paths
mov ecx, eax
call fcn.0044c200
mov ebx, eax
jmp 0x422b27
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x422de0
push ebx
mov ecx, esi
call fcn.0044b440
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x422bf4
nop dword [eax]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004edf00
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x422b70
mov eax, dword [esi]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x8c
call fcn.004616d1
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x422bbb
push str.File
mov ecx, eax
call fcn.0044c200
mov edi, eax
jmp 0x422bbd
xor edi, edi
push edi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0044b440
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
push 0x53fd90
call fcn.0044c6d0
mov eax, dword [ebp + 0xc]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x422b50
mov edi, dword [ebp - 0x358]
test edi, edi
je 0x422c8c
cmp dword [edi], 0
je 0x422c8c
push 0x8c
call fcn.004616d1
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x422c33
push str.Register
mov ecx, eax
call fcn.0044c200
mov esi, eax
jmp 0x422c35
xor esi, esi
push esi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0044b440
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x422c4f
mov eax, dword [eax]
push eax
push str.path
mov ecx, esi
call fcn.0044c6d0
cmp dword [edi + 0x30], 0x10
lea eax, [edi + 0x1c]
jb 0x422c67
mov eax, dword [eax]
push eax
push 0x53fdac
mov ecx, esi
call fcn.0044c6d0
cmp dword [edi + 0x48], 0x10
lea eax, [edi + 0x34]
jb 0x422c7f
mov eax, dword [eax]
push eax
push 0x53fdb0
mov ecx, esi
call fcn.0044c6d0
mov esi, dword [ebp - 0x35c]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422cb4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x334]
call fcn.00416d80
push 0x3a8
lea eax, [ebp - 0x334]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.00429ba0
add esp, 0xc
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x422d36
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422d2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422dfe
push edx
push ecx
call fcn.00461701
add esp, 8
xor eax, eax
mov dword [ebp - 0x324], 0
push 0x208
push eax
mov word [ebp - 0x334], ax
lea eax, [ebp - 0x31c]
push eax
mov dword [ebp - 0x320], 7
call fcn.004edf00
add esp, 0xc
lea ecx, [ebp - 0x34c]
cmp dword [ebp - 0x338], 0x10
lea edx, [ebp - 0x31c]
cmovae ecx, dword [ebp - 0x34c]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x422d84
mov ecx, dword [ebp - 0x350]
lea eax, [ebp - 0x31c]
push eax
call fcn.0044e530
mov edx, dword [ebp - 0x338]
cmp edx, 0x10
jb 0x422dd9
mov ecx, dword [ebp - 0x34c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422dcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422e03
push edx
push ecx
call fcn.00461701
add esp, 8
mov eax, 1
jmp 0x422de2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.004f6f4a
call fcn.004f6f4a
int3