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

Disassembly:
push ebp
lea ebp, [esp - 0x358]
sub esp, 0x358
push 0xffffffffffffffff
push 0x5db077
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6d26f8]
xor eax, ebp
mov dword [ebp + 0x354], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x364]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x368]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x36c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x370]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x374]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp + 0x378]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp + 0x37c]
mov eax, dword [ebp + 0x380]
mov dword [ebp - 0x40], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x28]
push edx
call fcn.0040b8a0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
call fcn.004bfca0
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x464cf9
lea eax, [ebp - 0x24]
push eax
call fcn.00499170
add esp, 4
mov byte [ebp - 4], 3
call fcn.004490f0
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041d3b0
mov byte [ebp - 4], 4
lea edx, [ebp + 0x11c]
push edx
call fcn.0045a290
mov byte [ebp - 4], 5
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp - 0x18]
call fcn.004befd0
test al, al
je 0x464b39
jmp 0x464a60
cmp dword [ebp + 0x134], 0x10
mov eax, dword [ebp + 0x120]
jae 0x464a75
lea eax, [ebp + 0x120]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00499810
mov esi, eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ebx, 0x692fe8
call fcn.004176f0
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0x14]
push ecx
mov ebx, eax
call fcn.0041c9d0
add esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040b950
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x20]
call fcn.0040b950
push 0x69c4b0
push 0x69c4b4
lea edx, [ebp - 0x14]
push edx
call fcn.0040ba70
push 0x692fe8
push 0x694458
lea eax, [ebp - 0x14]
push eax
call fcn.0040ba70
push 0x692fe8
push 0x69c4b0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040ba70
lea edx, [ebp - 0x14]
push edx
call fcn.00464830
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.004bf150
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0040b950
lea edx, [ebp + 0x11c]
push edx
lea eax, [ebp - 0x18]
call fcn.004bf000
test al, al
jne 0x464a60
xor ebx, ebx
lea esi, [ebp - 0x44]
call fcn.0049dba0
mov byte [ebp - 4], 0xb
push 0x103
lea eax, [ebp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp + 0x14c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x464b60
mov ecx, 0x10
mov esi, str._system32drivers_netfilter2.sys
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x464b9b
cmp dword [ebp - 0x1c], ebx
je 0x464b9b
mov bl, 1
jmp 0x464b9d
xor bl, bl
lea edx, [ebp - 0x14]
push edx
mov ecx, str.netfilter2.sys
call fcn.0040b8a0
mov byte [ebp - 4], 0xc
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
add edx, ecx
cmp edx, 7
jb 0x464beb
cmp byte [ebp + 0x11a], 1
jne 0x464beb
lea edi, [ebp - 0x14]
test bl, bl
je 0x464be4
mov edx, str.netfilter3_64.sys
jmp 0x464bf7
mov edx, str.netfilter3.sys
jmp 0x464bf7
test bl, bl
je 0x464bfc
mov edx, str.netfilter2_64.sys
lea edi, [ebp - 0x14]
call fcn.0040b9c0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, 0x692fe8
call fcn.004176f0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
push ecx
mov ebx, eax
call fcn.0041c9d0
add esp, 0x10
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
push 0
lea edx, [ebp + 0x14c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.0040b950
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040b950
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.0040b950
mov bl, 5
mov byte [ebp - 4], bl
lea esi, [ebp - 0x44]
call fcn.0049dbe0
call fcn.00448d10
call fcn.00449230
call fcn.00449050
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0040b8a0
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, str.FWVersion
call fcn.0040b8a0
mov byte [ebp - 4], 0x10
push 0x6ebc08
mov byte [ebp - 4], bl
call fcn.00441d70
lea esi, [ebp - 0x18]
call fcn.004bef90
mov byte [ebp - 4], 4
lea edx, [ebp + 0x11c]
push edx
call fcn.00464d60
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
push eax
call fcn.004678a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040b950
mov byte [ebp - 4], 1
call fcn.004bef90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040b950
xor eax, eax
jmp 0x464d1d
mov byte [ebp - 4], 1
lea esi, [ebp - 0x18]
call fcn.004bef90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040b950
mov 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.0059393a
add ebp, 0x358
mov esp, ebp
pop ebp
ret 0x24