Function at 0x440a50
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5864be
mov eax, dword fs:[0]
push eax
sub esp, 0x9a0
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9a8], ecx
xor eax, eax
mov word [ebp - 0x28c], ax
push 0x206
push 0
lea ecx, [ebp - 0x28a]
push ecx
call fcn.00562540
add esp, 0xc
xor edx, edx
mov word [ebp - 0x6a4], dx
push 0x206
push 0
lea eax, [ebp - 0x6a2]
push eax
call fcn.00562540
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x494], cx
push 0x206
push 0
lea edx, [ebp - 0x492]
push edx
call fcn.00562540
add esp, 0xc
push 0x104
lea eax, [ebp - 0x494]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x494]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.check_server_windows.vbs
lea edx, [ebp - 0x494]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x948], 0x11
mov byte [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x7f], eax
mov dword [ebp - 0x7b], eax
mov dword [ebp - 0x77], eax
mov dword [ebp - 0x73], eax
lea ecx, [ebp - 0x948]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x964]
call fcn.00419260
mov dword [ebp - 4], 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040c860
add esp, 8
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x984], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00405f30
mov dword [ebp - 0x9ac], eax
lea eax, [ebp - 0x964]
push eax
call fcn.00440930
add esp, 0x20
xor ecx, ecx
mov word [ebp - 0x6b4], cx
xor edx, edx
mov dword [ebp - 0x6b2], edx
mov dword [ebp - 0x6ae], edx
mov dword [ebp - 0x6aa], edx
mov word [ebp - 0x6a6], dx
lea eax, [ebp - 0x6b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x6a8]
push ecx
movzx edx, word [ebp - 0x6aa]
push edx
movzx eax, word [ebp - 0x6ac]
push eax
push str.PolicyInspectResult__02d__02d__02d.ini
push 0x104
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0055bfd9
add esp, 0x18
mov dword [ebp - 0x30], eax
movzx edx, word [0x63bdd8]
test edx, edx
jne 0x440c1f
push 0x63bdd8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x28c]
push eax
push 0x63bdd8
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x63bdd8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x494]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x494]
push edx
push 0x5edca0
push 2
push 0x5edcf8
call fcn.0040c0b0
add esp, 0x14
mov dword [ebp - 0x988], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.004060f0
mov eax, dword [ebp - 0x988]
jmp 0x44109b
xor eax, eax
mov word [ebp - 0x944], ax
push 0x7e
push 0
lea ecx, [ebp - 0x942]
push ecx
call fcn.00562540
add esp, 0xc
push 0x40
lea edx, [ebp - 0x944]
push edx
lea eax, [ebp - 0x494]
push eax
call fcn.00412db0
add esp, 0xc
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x440d21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err:_Can_not_calculate_VBS_checksum__err_d_r_n
push 2
push 0x5edd90
call fcn.0040c0b0
add esp, 0x10
mov dword [ebp - 0x98c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.004060f0
mov eax, dword [ebp - 0x98c]
jmp 0x44109b
lea ecx, [ebp - 0x944]
push ecx
mov ecx, dword [ebp - 0x9a8]
add ecx, 0xb4
call fcn.0040b240
test eax, eax
je 0x440d8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err:_VBS_integrity_check_failed__err_d_r_n
push 2
push 0x5ede20
call fcn.0040c0b0
add esp, 0x10
mov dword [ebp - 0x990], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.004060f0
mov eax, dword [ebp - 0x990]
jmp 0x44109b
lea edx, [ebp - 0x494]
push edx
push str.__s_
lea eax, [ebp - 0x6a4]
push eax
call fcn.00414270
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x8c4], cx
push 0x206
push 0
lea edx, [ebp - 0x8c2]
push edx
call fcn.00562540
add esp, 0xc
push 0x63bdd8
lea ecx, [ebp - 0x964]
call fcn.00406110
push eax
lea eax, [ebp - 0x6a4]
push eax
push str._s__s_0__s
lea ecx, [ebp - 0x8c4]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea edx, [ebp - 0x8c4]
push edx
push str.cscript.exe_cmdline___s__r_n
push 0x5edeb4
call fcn.0040c050
add esp, 0xc
mov dword [ebp - 0x6b8], 0
mov dword [ebp - 0x6c], 0
push 0x38
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00562540
add esp, 0xc
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], str.cscript.exe
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x6b8], eax
cmp dword [ebp - 0x6b8], 0
je 0x441062
push 0xffffffffffffffff
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x968], 0x1e
mov ecx, dword [ebp - 0x968]
mov edx, dword [ebp - 0x968]
sub edx, 1
mov dword [ebp - 0x968], edx
test ecx, ecx
je 0x440ed7
push 0x63bdd8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440eca
jmp 0x440ed7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x440ea0
push 0x63bdd8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440f32
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERR:_conf_file_not_exist_err_d__Out_r_n
push 0x5edf7c
call fcn.0040c050
add esp, 0xc
mov dword [ebp - 0x994], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.004060f0
mov eax, dword [ebp - 0x994]
jmp 0x44109b
lea ecx, [ebp - 0x980]
call fcn.00550f21
mov byte [ebp - 4], 2
push 0
push 0x8000
push 0x63bdd8
lea ecx, [ebp - 0x980]
call fcn.00551308
test eax, eax
jne 0x440fb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERR:_conf_file_open_err_d__Out_r_n
push str.CNetCmdPolicyInspectionMgr::PolicyInspectionByScript
call fcn.0040c050
add esp, 0xc
mov dword [ebp - 0x998], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x980]
call fcn.00550ffc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.004060f0
mov eax, dword [ebp - 0x998]
jmp 0x44109b
lea ecx, [ebp - 0x980]
call fcn.00550e0c
mov dword [ebp - 0x970], eax
push 0x63806c
mov eax, dword [ebp - 0x970]
push eax
call fcn.0055c0fe
add esp, 8
mov dword [ebp - 0x99c], eax
mov ecx, dword [ebp - 0x99c]
mov dword [ebp - 0x96c], ecx
cmp dword [ebp - 0x96c], 0
je 0x441047
mov edx, dword [ebp - 0x970]
push edx
mov eax, dword [ebp - 0x96c]
push eax
lea ecx, [ebp - 0x980]
call fcn.00550c15
test eax, eax
jbe 0x44102c
mov ecx, dword [ebp - 0x970]
push ecx
mov edx, dword [ebp - 0x96c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004081d0
jmp 0x440ff7
mov eax, dword [ebp - 0x96c]
mov dword [ebp - 0x9a0], eax
mov ecx, dword [ebp - 0x9a0]
push ecx
call fcn.0054f779
add esp, 4
push 0
push 1
mov ecx, dword [ebp + 8]
call fcn.00426fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x980]
call fcn.00550ffc
push 0x63bdd8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x9a4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00405f70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.004060f0
mov eax, dword [ebp - 0x9a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret 4