Function at 0x446678
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
sub esp, 0x354
lea ebp, [esp - 4]
mov eax, dword [0x6b06f8]
xor eax, ebp
mov dword [ebp + 0x354], eax
push 0x5c
mov eax, 0x5b98b6
call fcn.00580e9e
lea esi, [ebp + 0x364]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x374]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 4], 0
push dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.00408561
mov byte [ebp - 4], 1
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
call fcn.0049f860
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4469b4
lea eax, [ebp - 0x28]
push eax
call fcn.0046f870
pop ecx
mov byte [ebp - 4], 3
call fcn.00431b8f
lea eax, [ebp - 0x68]
push eax
call fcn.0044884e
mov byte [ebp - 4], 4
lea eax, [ebp + 0x11c]
push eax
call fcn.0043e99b
mov byte [ebp - 4], 5
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp - 0x1c]
call fcn.0049eb90
mov ebx, 0x670fe8
test al, al
je 0x4467f5
mov edi, 0x67a4b8
cmp dword [ebp + 0x134], 0x10
mov eax, dword [ebp + 0x120]
jae 0x44674b
lea eax, [ebp + 0x120]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00470690
mov esi, eax
mov byte [ebp - 4], 6
push ebx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fc53
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
call fcn.004136d2
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.004085a2
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20]
call fcn.004085a2
push edi
push 0x67a4bc
lea eax, [ebp - 0x18]
push eax
call fcn.00408668
push ebx
push 0x672458
lea eax, [ebp - 0x18]
push eax
call fcn.00408668
push ebx
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.00408668
lea eax, [ebp - 0x18]
push eax
call fcn.004465da
pop ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
call fcn.0049ed10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.004085a2
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp - 0x1c]
call fcn.0049ebc0
test al, al
jne 0x446736
lea esi, [ebp - 0x38]
call fcn.00476200
mov byte [ebp - 4], 0xb
push 0x103
lea eax, [ebp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp + 0x14c]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x44681b
push 0x10
pop ecx
mov esi, str._system32drivers_netfilter2.sys
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x446855
cmp dword [ebp - 0x24], edi
mov byte [ebp - 0x11], 1
jne 0x446859
mov byte [ebp - 0x11], 0
push str.netfilter2.sys
lea eax, [ebp - 0x18]
push eax
call fcn.00408561
mov byte [ebp - 4], 0xc
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add ecx, eax
cmp ecx, 7
jb 0x4468a9
cmp byte [ebp + 0x11a], 1
jne 0x4468a9
lea eax, [ebp - 0x18]
cmp byte [ebp - 0x11], 0
je 0x4468a2
push str.netfilter3_64.sys
jmp 0x4468b7
push str.netfilter3.sys
jmp 0x4468b7
cmp byte [ebp - 0x11], 0
je 0x4468bd
push str.netfilter2_64.sys
lea eax, [ebp - 0x18]
push eax
call fcn.00408606
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fc53
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov esi, eax
call fcn.004136d2
add esp, 0x10
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
push edi
lea ecx, [ebp + 0x14c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.004085a2
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
call fcn.004085a2
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.004085a2
mov byte [ebp - 4], 5
lea esi, [ebp - 0x38]
call fcn.00476240
call fcn.00431861
call fcn.00431c60
call fcn.00431b26
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push dword [ebp - 0x48]
push eax
call fcn.00408561
mov byte [ebp - 4], 0xf
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push str.FWVersion
push eax
call fcn.00408561
mov byte [ebp - 4], 0x10
push 0x6c9c08
mov byte [ebp - 4], 5
call fcn.0042c65a
lea esi, [ebp - 0x1c]
call fcn.0049eb50
mov byte [ebp - 4], 4
lea eax, [ebp + 0x11c]
push eax
call fcn.00446a04
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
push eax
call fcn.00448abf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004085a2
mov byte [ebp - 4], 1
call fcn.0049eb50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004085a2
xor eax, eax
jmp 0x4469d5
mov byte [ebp - 4], 1
lea esi, [ebp - 0x1c]
call fcn.0049eb50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004085a2
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x354]
xor ecx, ebp
call fcn.0057372c
add ebp, 0x358
leave
ret 0x24