Function at 0x403960
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45b4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24c]
mov eax, dword [esp + 0x254]
mov ebp, dword [esp + 0x250]
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
call fcn.00417f70
add esp, 4
test eax, eax
je 0x4039cc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x78
call fcn.00445318
add esp, 4
mov dword [esp + 0x18], eax
xor edi, edi
mov dword [esp + 0x244], edi
cmp eax, edi
je 0x4039f6
mov ecx, eax
call fcn.00410240
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x4039fc
mov dword [esp + 0x18], edi
mov esi, edi
or ebx, 0xffffffff
mov dword [esp + 0x244], ebx
cmp esi, edi
jne 0x403a11
xor eax, eax
jmp 0x403d0c
push 0x98
call fcn.00445318
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x244], 1
cmp eax, edi
je 0x403a43
push str.Paths
mov ecx, eax
call fcn.00410170
mov dword [esp + 0x14], eax
jmp 0x403a49
mov dword [esp + 0x14], edi
mov eax, edi
mov dword [esp + 0x244], ebx
cmp eax, edi
je 0x403a0a
push eax
mov ecx, esi
call fcn.0040f4a0
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
jbe 0x403a69
call fcn.00445055
mov ebx, dword [ebp]
mov dword [esp + 0x1c], ebx
mov edi, esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x20], edi
cmp dword [ebp + 0xc], esi
jbe 0x403a83
call fcn.00445055
mov eax, dword [ebp]
test ebx, ebx
je 0x403a8e
cmp ebx, eax
je 0x403a93
call fcn.00445055
cmp edi, esi
je 0x403c0a
test ebx, ebx
jne 0x403b61
call fcn.00445055
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x403ab4
call fcn.00445055
push 0xf
push 0
push str.CustomHosts.txt
mov ecx, edi
call fcn.004019c0
cmp eax, 0xffffffff
jne 0x403be9
test ebx, ebx
jne 0x403b68
call fcn.00445055
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x403ae6
call fcn.00445055
push 0xe
push 0
push str.CustomRule.txt
mov ecx, edi
call fcn.004019c0
cmp eax, 0xffffffff
jne 0x403be9
test ebx, ebx
jne 0x403b6f
call fcn.00445055
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x403b14
call fcn.00445055
push 0x15
push 0
push str.CustomWhiteDomain.txt
mov ecx, edi
call fcn.004019c0
cmp eax, 0xffffffff
jne 0x403be9
push 0x104
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.004449b0
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.004014d0
mov esi, dword [eax + 0x14]
lea ecx, [esp + 0x1c]
call fcn.004014d0
cmp dword [eax + 0x18], 8
jb 0x403b73
mov eax, dword [eax + 4]
jmp 0x403b76
mov eax, dword [ebx]
jmp 0x403aaa
mov eax, dword [ebx]
jmp 0x403adc
mov eax, dword [ebx]
jmp 0x403b0a
add eax, 4
push 0
push 0
lea edx, [esi + esi + 2]
push edx
lea ecx, [esp + 0x3c]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x98
call fcn.00445318
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x244], 2
test eax, eax
je 0x403bc1
push str.File
mov ecx, eax
call fcn.00410170
mov esi, eax
jmp 0x403bc3
xor esi, esi
mov ecx, dword [esp + 0x14]
push esi
mov dword [esp + 0x248], 0xffffffff
call fcn.0040f4a0
lea edx, [esp + 0x30]
push edx
push 0x45fbc4
mov ecx, esi
call fcn.00410d50
test ebx, ebx
jne 0x403c06
call fcn.00445055
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x403bfe
call fcn.00445055
add edi, 0x1c
jmp 0x403a72
mov eax, dword [ebx]
jmp 0x403bf4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403cb9
cmp dword [ebx], 0
je 0x403cb9
push 0x98
call fcn.00445318
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x244], 3
test eax, eax
je 0x403c4f
push str.Register
mov ecx, eax
call fcn.00410170
mov esi, eax
jmp 0x403c51
xor esi, esi
mov ecx, dword [esp + 0x14]
push esi
mov dword [esp + 0x248], 0xffffffff
call fcn.0040f4a0
mov edi, 0x10
cmp dword [ebx + 0x1c], edi
jb 0x403c75
mov eax, dword [ebx + 8]
jmp 0x403c78
lea eax, [ebx + 8]
push eax
push str.path
mov ecx, esi
call fcn.00410d50
cmp dword [ebx + 0x38], edi
jb 0x403c8f
mov eax, dword [ebx + 0x24]
jmp 0x403c92
lea eax, [ebx + 0x24]
push eax
push 0x45fbac
mov ecx, esi
call fcn.00410d50
cmp dword [ebx + 0x54], edi
jb 0x403ca9
mov eax, dword [ebx + 0x40]
jmp 0x403cac
lea eax, [ebx + 0x40]
push eax
push 0x45fba8
mov ecx, esi
call fcn.00410d50
push 0x104
lea eax, [esp + 0x138]
push 0
push eax
call fcn.004449b0
mov esi, dword [esp + 0x30]
add esp, 0xc
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
lea ecx, [esp + 0x140]
push ecx
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x134]
push edx
call fcn.0040f5c0
mov eax, 1
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00444b03
add esp, 0x234
ret