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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453d4c
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.004318c1
lea edx, [esp + 0x410]
push edx
lea eax, [esp + 0x20c]
push eax
call fcn.004318eb
lea ecx, [esp + 0x210]
push 0x457dec
push ecx
call fcn.004318c1
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0x62c]
push eax
call fcn.004318eb
mov ecx, dword [0x46c488]
add esp, 0x20
call fcn.0040cab0
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.00413e40
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 0x41447b
mov eax, 0xf
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
push ebx
push 0x4586e9
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.00404dd0
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 0x4142c9
lea esp, [esp]
push 0xa
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00413750
mov eax, dword [esp + 0xfc]
add esp, 0xc
cmp eax, ebx
je 0x4142b7
push 8
push ebx
push 0x4586e0
lea ecx, [esp + 0xe8]
call fcn.00411f20
cmp eax, 0xffffffff
jle 0x414249
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
jmp 0x4142b7
push 8
push ebx
push str.wnwb.com
lea ecx, [esp + 0xe8]
call fcn.00411f20
cmp eax, 0xffffffff
jle 0x41426c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
jmp 0x4142b7
push 8
push ebx
push str.wn51.com
lea ecx, [esp + 0xe8]
call fcn.00411f20
cmp eax, 0xffffffff
jle 0x41428d
mov edi, esi
mov dword [esp + 0xc], esi
jmp 0x4142b7
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xcc]
call fcn.00413240
push 2
push 0x4586c4
lea ecx, [esp + 0xc8]
call fcn.00413330
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x30], 1
je 0x414200
lea ecx, [esp + 0x30]
call fcn.00413d30
test eax, eax
jne 0x4142fa
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 0x4142f3
or eax, 4
push ebx
push eax
call fcn.00444a81
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
cmp eax, ebx
je 0x414318
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x414332
cmp edi, ebx
je 0x41433b
mov esi, 6
jmp 0x41433b
cmp dword [esp + 0x10], ebx
je 0x41434a
cmp edi, ebx
je 0x41432b
cmp edi, ebx
mov esi, 5
jne 0x41435b
mov esi, 1
jmp 0x41435b
cmp edi, ebx
je 0x41433b
mov esi, 4
cmp eax, ebx
je 0x414355
cmp edi, ebx
jne 0x41435b
mov esi, 3
jmp 0x41435b
cmp edi, ebx
je 0x41435b
mov esi, 2
jmp 0x41435b
cmp edi, ebx
jne 0x41435b
xor esi, esi
mov ecx, dword [0x46c488]
call fcn.0040cac0
mov dword [eax + 0x4cc], esi
cmp dword [esp + 0xc], ebx
mov esi, 0x10
je 0x41441a
push 0x1001
lea ecx, [esp + 0x204]
push ecx
lea ecx, [esp + 0x20]
call fcn.0044bf00
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x82c], 3
jne 0x4143b2
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 2
call fcn.0044bb10
jmp 0x41441a
cmp dword [esp + 0xd8], esi
mov eax, dword [esp + 0xc4]
jae 0x4143c9
lea eax, [esp + 0xc4]
mov ecx, dword [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0044b824
lea ecx, [esp + 0x18]
call fcn.0044ba6f
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.0044bb10
cmp dword [esp + 0xd8], esi
jb 0x414433
mov edx, dword [esp + 0xc4]
push edx
call fcn.0044ac5f
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 0x414466
mov eax, dword [esp + 0xe0]
push eax
call fcn.0044ac5f
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.00413f80
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], 0x4585f4
call fcn.00444997
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x81c]
call fcn.00431288
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret