Function at 0x413e00
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453adc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x818
mov eax, dword [0x46b3ac]
mov dword [esp + 0x810], eax
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov word [esp + 0x408], bx
mov ecx, 0x81
lea edi, [esp + 0x40a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov byte [esp + 0xf8], bl
mov ecx, 0x40
lea edi, [esp + 0xf9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov word [esp + 0x610], bx
mov ecx, 0x81
lea edi, [esp + 0x612]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x200], bx
mov ecx, 0x81
lea edi, [esp + 0x202]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x408]
push str.driversetchosts
push ecx
call fcn.00431651
lea edx, [esp + 0x410]
push edx
lea eax, [esp + 0x20c]
push eax
call fcn.0043167b
lea ecx, [esp + 0x210]
push 0x457de4
push ecx
call fcn.00431651
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0x62c]
push eax
call fcn.0043167b
mov ecx, dword [0x46c488]
add esp, 0x20
call fcn.0040ca40
mov edx, dword [eax]
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0x614]
push ecx
mov ecx, eax
call dword [edx + 8]
mov esi, 1
push esi
push 0x1b6
push esi
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x38]
call fcn.00413c10
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x30]
test al, 6
mov dword [esp + 0x82c], ebx
jne 0x41424b
mov eax, 0xf
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
push ebx
push 0x4586e1
lea ecx, [esp + 0xc8]
mov byte [esp + 0x834], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.00404e50
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x30]
xor edi, edi
test al, 1
mov byte [esp + 0x82c], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jne 0x414099
lea esp, [esp]
push 0xa
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00413520
mov eax, dword [esp + 0xfc]
add esp, 0xc
cmp eax, ebx
je 0x414087
push 8
push ebx
push 0x4586d8
lea ecx, [esp + 0xe8]
call fcn.00411d10
cmp eax, 0xffffffff
jle 0x414019
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
jmp 0x414087
push 8
push ebx
push str.wnwb.com
lea ecx, [esp + 0xe8]
call fcn.00411d10
cmp eax, 0xffffffff
jle 0x41403c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
jmp 0x414087
push 8
push ebx
push str.wn51.com
lea ecx, [esp + 0xe8]
call fcn.00411d10
cmp eax, 0xffffffff
jle 0x41405d
mov edi, esi
mov dword [esp + 0xc], esi
jmp 0x414087
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xcc]
call fcn.00413010
push 2
push 0x4586bc
lea ecx, [esp + 0xc8]
call fcn.00413100
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x30], 1
je 0x413fd0
lea ecx, [esp + 0x30]
call fcn.00413b00
test eax, eax
jne 0x4140ca
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x30]
mov edx, dword [esp + ecx + 0x50]
lea ecx, [esp + ecx + 0x28]
or eax, 2
cmp edx, ebx
jne 0x4140c3
or eax, 4
push ebx
push eax
call fcn.00444811
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
cmp eax, ebx
je 0x4140e8
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x414102
cmp edi, ebx
je 0x41410b
mov esi, 6
jmp 0x41410b
cmp dword [esp + 0x10], ebx
je 0x41411a
cmp edi, ebx
je 0x4140fb
cmp edi, ebx
mov esi, 5
jne 0x41412b
mov esi, 1
jmp 0x41412b
cmp edi, ebx
je 0x41410b
mov esi, 4
cmp eax, ebx
je 0x414125
cmp edi, ebx
jne 0x41412b
mov esi, 3
jmp 0x41412b
cmp edi, ebx
je 0x41412b
mov esi, 2
jmp 0x41412b
cmp edi, ebx
jne 0x41412b
xor esi, esi
mov ecx, dword [0x46c488]
call fcn.0040ca50
mov dword [eax + 0x4cc], esi
cmp dword [esp + 0xc], ebx
mov esi, 0x10
je 0x4141ea
push 0x1001
lea ecx, [esp + 0x204]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044bc90
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x82c], 3
jne 0x414182
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 2
call fcn.0044b8a0
jmp 0x4141ea
cmp dword [esp + 0xd8], esi
mov eax, dword [esp + 0xc4]
jae 0x414199
lea eax, [esp + 0xc4]
mov ecx, dword [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0044b5b4
lea ecx, [esp + 0x18]
call fcn.0044b7ff
push ebx
lea edx, [esp + 0x614]
push edx
lea eax, [esp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x200]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 2
call fcn.0044b8a0
cmp dword [esp + 0xd8], esi
jb 0x414203
mov edx, dword [esp + 0xc4]
push edx
call fcn.0044a9ef
add esp, 4
cmp dword [esp + 0xf4], esi
mov edi, 0xf
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
jb 0x414236
mov eax, dword [esp + 0xe0]
push eax
call fcn.0044a9ef
add esp, 4
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
lea ecx, [esp + 0x8c]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00413d50
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], 0x4585ec
call fcn.00444727
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x81c]
call fcn.00431018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret