Function at 0x422a90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532b59
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x57b270]
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 - 0x364], ebx
mov dword [ebp - 0x360], edi
call fcn.00456d00
add esp, 4
test eax, eax
je 0x422ae4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x70
call fcn.00460b31
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x422b10
mov ecx, eax
call fcn.0044cfe0
mov esi, eax
mov dword [ebp - 0x35c], eax
jmp 0x422b18
xor esi, esi
mov dword [ebp - 0x35c], esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x422eee
push 0x8c
call fcn.00460b31
add esp, 4
mov dword [ebp - 0x354], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x422b5b
push str.Paths
mov ecx, eax
call fcn.0044b410
mov ebx, eax
mov dword [ebp - 0x350], eax
jmp 0x422b63
xor ebx, ebx
mov dword [ebp - 0x350], ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x422eee
push ebx
mov ecx, esi
call fcn.0044a650
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x422d02
nop dword [eax + eax]
cmp dword [esi + 0x14], 8
mov ecx, esi
mov dword [ebp - 0x358], esi
jb 0x422ba6
mov ecx, dword [esi]
mov dword [ebp - 0x358], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0xf
jb 0x422c1c
add eax, 0xfffffff2
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x354], edx
nop dword [eax]
mov ecx, edx
sub ecx, eax
sar ecx, 1
je 0x422c16
cmp word [eax], 0x43
je 0x422bd8
add eax, 2
sub ecx, 1
jne 0x422bc8
jmp 0x422c16
mov edx, str.CustomHosts.txt
mov ebx, eax
mov edi, 0xf
sub ebx, edx
nop word [eax + eax]
mov cx, word [ebx + edx]
cmp cx, word [edx]
jne 0x422cb5
add edx, 2
sub edi, 1
jne 0x422bf0
sub eax, dword [ebp - 0x358]
sar eax, 1
cmp eax, 0xffffffff
jne 0x422ce7
mov ebx, dword [ebp - 0x350]
push 0
push str.CustomRule.txt
mov ecx, esi
call fcn.00428620
cmp eax, 0xffffffff
jne 0x422ce7
push 0
push str.CustomWhiteDomain.txt
mov ecx, esi
call fcn.00428620
cmp eax, 0xffffffff
jne 0x422ce7
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004ed350
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x422c6a
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.00460b31
add esp, 4
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x422cc3
push str.File
mov ecx, eax
call fcn.0044b410
mov edi, eax
jmp 0x422cc5
mov edx, dword [ebp - 0x354]
add eax, 2
jmp 0x422bc0
xor edi, edi
push edi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0044a650
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
push 0x53fca0
call fcn.0044b8e0
mov eax, dword [ebp + 0xc]
add esi, 0x18
mov ebx, dword [ebp - 0x350]
cmp esi, dword [eax + 4]
jne 0x422b90
mov edi, dword [ebp - 0x360]
test edi, edi
je 0x422d9a
cmp dword [edi], 0
je 0x422d9a
push 0x8c
call fcn.00460b31
add esp, 4
mov dword [ebp - 0x368], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x422d41
push str.Register
mov ecx, eax
call fcn.0044b410
mov esi, eax
jmp 0x422d43
xor esi, esi
push esi
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0044a650
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x422d5d
mov eax, dword [eax]
push eax
push str.path
mov ecx, esi
call fcn.0044b8e0
cmp dword [edi + 0x30], 0x10
lea eax, [edi + 0x1c]
jb 0x422d75
mov eax, dword [eax]
push eax
push 0x53fcbc
mov ecx, esi
call fcn.0044b8e0
cmp dword [edi + 0x48], 0x10
lea eax, [edi + 0x34]
jb 0x422d8d
mov eax, dword [eax]
push eax
push 0x53fcc0
mov ecx, esi
call fcn.0044b8e0
mov esi, dword [ebp - 0x364]
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 0x422dc2
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.00428cd0
add esp, 0xc
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x422e44
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422e3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422f0c
push edx
push ecx
call fcn.00460b61
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.004ed350
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 [ecx + edx - 1], al
test al, al
jne 0x422e92
mov ecx, dword [ebp - 0x35c]
lea eax, [ebp - 0x31c]
push eax
call fcn.0044d740
mov edx, dword [ebp - 0x338]
cmp edx, 0x10
jb 0x422ee7
mov ecx, dword [ebp - 0x34c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422edd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422f11
push edx
push ecx
call fcn.00460b61
add esp, 8
mov eax, 1
jmp 0x422ef0
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.00460b6f
mov esp, ebp
pop ebp
ret
call fcn.004f639a
call fcn.004f639a
int3