Function at 0x40dcf0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4163ca
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x421024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push str.CStealthManager::checkAndUpdateWinPcapLibrary
push str._s_enter_
push str.stealth_manager
mov dword [ebp - 0xa8], esi
call fcn.00401b30
push 0x4183c4
lea edx, [esi + 0x58]
lea ecx, [ebp - 0x2c]
call fcn.00405e30
push 0x421cc0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00407190
push 0x4183c4
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00403e30
add esp, 0x18
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40dd8e
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40ddb6
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403580
push str.libs_
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00405e30
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40e32e
test al, 0x10
je 0x40e32e
lea eax, [esi + 0x40]
mov byte [ebp - 4], 6
push 0x41c810
mov edx, eax
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x2c]
call fcn.00405e30
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call ebx
add esp, 8
test eax, eax
je 0x40de93
push str.Packet.dll
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00405e30
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x2c]
add esp, 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x18], 0x10
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
push 0
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40de99
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
jmp 0x40de99
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40deab
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403580
mov dword [ebp - 4], 5
jmp 0x40df11
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0x2c]
push 0x41c840
mov byte [ebp - 4], 0xa
call fcn.00405e30
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
add esp, 8
test eax, eax
je 0x40df8c
push str.wpcap.dll
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00405e30
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
push 0
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40df8c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40df9e
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403580
mov dword [ebp - 4], 5
jmp 0x40e004
push 0x41c870
lea edx, [esi + 0x40]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
call fcn.00405e30
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
add esp, 8
test eax, eax
je 0x40e07c
push str.pthreadVC.dll
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00405e30
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
push 0
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40e07c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40e08e
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403580
mov dword [ebp - 4], 5
jmp 0x40e0f4
push str.drivers_npf.sys
lea edx, [esi + 0x28]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2c]
call fcn.00405e30
add esp, 4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
add esp, 8
test eax, eax
je 0x40e16c
push str.npf.sys
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00405e30
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
push 0
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x40e16c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40e17e
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403580
mov dword [ebp - 4], 5
jmp 0x40e1e4
cmp byte [esi + 0xc], 0
je 0x40e317
push 0x41c810
lea edx, [esi + 0x28]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x44]
call fcn.00405e30
add esp, 4
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call ebx
add esp, 8
test eax, eax
je 0x40e266
push str.x64Packet.dll
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.00405e30
add esp, 4
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x60], 0x10
push 0
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x40e266
inc eax
push eax
push dword [ebp - 0x74]
call fcn.00403580
push 0x41c840
lea edx, [esi + 0x28]
lea ecx, [ebp - 0x2c]
call fcn.00405e30
add esp, 4
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
add esp, 8
test eax, eax
je 0x40e2da
push str.x64wpcap.dll
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.00405e30
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], 0x10
push 0
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x40e2da
inc eax
push eax
push dword [ebp - 0x74]
call fcn.00403580
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40e2ec
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403580
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x40e310
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00403580
mov dword [ebp - 4], 5
push str.CStealthManager::checkAndUpdateWinPcapLibrary
push str._s_exit_
push str.stealth_manager
call fcn.00401b30
add esp, 0xc
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x40e340
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.00403580
mov eax, dword [ebp - 0x90]
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
cmp eax, 0x10
jb 0x40e36a
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.00403580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00414132
mov esp, ebp
pop ebp
ret