Function at 0x4430d0
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 0x58c9be
mov eax, dword fs:[0]
push eax
sub esp, 0x9a0
mov eax, dword [0x61b000]
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.00568440
add esp, 0xc
xor edx, edx
mov word [ebp - 0x6a4], dx
push 0x206
push 0
lea eax, [ebp - 0x6a2]
push eax
call fcn.00568440
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x494], cx
push 0x206
push 0
lea edx, [ebp - 0x492]
push edx
call fcn.00568440
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.00418b60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040ca40
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.00406090
mov dword [ebp - 0x9ac], eax
lea eax, [ebp - 0x964]
push eax
call fcn.00442fb0
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.00562049
add esp, 0x18
mov dword [ebp - 0x30], eax
movzx edx, word [0x641f18]
test edx, edx
jne 0x44329f
push 0x641f18
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x28c]
push eax
push 0x641f18
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x641f18
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x494]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x443310
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x494]
push edx
push 0x5f3990
push 2
push 0x5f39e8
call fcn.0040c290
add esp, 0x14
mov dword [ebp - 0x988], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.00406270
mov eax, dword [ebp - 0x988]
jmp 0x44371b
xor eax, eax
mov word [ebp - 0x944], ax
push 0x7e
push 0
lea ecx, [ebp - 0x942]
push ecx
call fcn.00568440
add esp, 0xc
push 0x40
lea edx, [ebp - 0x944]
push edx
lea eax, [ebp - 0x494]
push eax
call fcn.004124b0
add esp, 0xc
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x4433a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err:_Can_not_calculate_VBS_checksum__err_d_r_n
push 2
push 0x5f3a80
call fcn.0040c290
add esp, 0x10
mov dword [ebp - 0x98c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.00406270
mov eax, dword [ebp - 0x98c]
jmp 0x44371b
lea ecx, [ebp - 0x944]
push ecx
mov ecx, dword [ebp - 0x9a8]
add ecx, 0xb4
call fcn.0040b420
test eax, eax
je 0x44340b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err:_VBS_integrity_check_failed__err_d_r_n
push 2
push 0x5f3b10
call fcn.0040c290
add esp, 0x10
mov dword [ebp - 0x990], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.00406270
mov eax, dword [ebp - 0x990]
jmp 0x44371b
lea edx, [ebp - 0x494]
push edx
push str.__s_
lea eax, [ebp - 0x6a4]
push eax
call fcn.00413980
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x8c4], cx
push 0x206
push 0
lea edx, [ebp - 0x8c2]
push edx
call fcn.00568440
add esp, 0xc
push 0x641f18
lea ecx, [ebp - 0x964]
call fcn.00406290
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 0x5f3ba4
call fcn.0040c230
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.00568440
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 0x4436e2
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 0x443557
push 0x641f18
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44354a
jmp 0x443557
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x443520
push 0x641f18
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4435b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERR:_conf_file_not_exist_err_d__Out_r_n
push 0x5f3c6c
call fcn.0040c230
add esp, 0xc
mov dword [ebp - 0x994], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.00406270
mov eax, dword [ebp - 0x994]
jmp 0x44371b
lea ecx, [ebp - 0x980]
call fcn.00556f9b
mov byte [ebp - 4], 2
push 0
push 0x8000
push 0x641f18
lea ecx, [ebp - 0x980]
call fcn.00557382
test eax, eax
jne 0x443637
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.0040c230
add esp, 0xc
mov dword [ebp - 0x998], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x980]
call fcn.00557076
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.00406270
mov eax, dword [ebp - 0x998]
jmp 0x44371b
lea ecx, [ebp - 0x980]
call fcn.00556e86
mov dword [ebp - 0x970], eax
push 0x63d88c
mov eax, dword [ebp - 0x970]
push eax
call fcn.0056216e
add esp, 8
mov dword [ebp - 0x99c], eax
mov ecx, dword [ebp - 0x99c]
mov dword [ebp - 0x96c], ecx
cmp dword [ebp - 0x96c], 0
je 0x4436c7
mov edx, dword [ebp - 0x970]
push edx
mov eax, dword [ebp - 0x96c]
push eax
lea ecx, [ebp - 0x980]
call fcn.00556c8f
test eax, eax
jbe 0x4436ac
mov ecx, dword [ebp - 0x970]
push ecx
mov edx, dword [ebp - 0x96c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408360
jmp 0x443677
mov eax, dword [ebp - 0x96c]
mov dword [ebp - 0x9a0], eax
mov ecx, dword [ebp - 0x9a0]
push ecx
call fcn.005557fe
add esp, 4
push 0
push 1
mov ecx, dword [ebp + 8]
call fcn.00427800
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x980]
call fcn.00557076
push 0x641f18
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x9a4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x964]
call fcn.00406270
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.00560c61
mov esp, ebp
pop ebp
ret 4