Function at 0x46c850
Capabilities:
Check if file exists
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c1ec
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x70], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b8], 0
call fcn.00414440
lea ecx, [ebp - 0x2c]
call fcn.00419110
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0046d8e0
mov dword [ebp - 0x68], 1
movzx eax, byte [0x640473]
test eax, eax
jne 0x46c8b8
call fcn.00468970
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x60]
push ecx
push 0x594904
push 1
push 0
push 0x5949d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jge 0x46c925
mov edx, dword [ebp - 0x5c]
push edx
push 0x5eb380
push str.CReportSystemInfo::GetRunningProgress
call fcn.0040c230
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00419180
mov ecx, dword [ebp - 0x2b8]
or ecx, 1
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004062b0
mov eax, dword [ebp + 8]
jmp 0x46d3d8
call fcn.00402270
mov dword [ebp - 0x58], eax
push 0x5eb3f8
lea ecx, [ebp - 0x244]
call fcn.00413ad0
mov dword [ebp - 0x2bc], eax
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x2c0]
call fcn.00413b90
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00413b70
lea ecx, [ebp - 0x54]
call fcn.00418f30
mov byte [ebp - 4], 3
cmp dword [ebp - 0x5c], 0
jl 0x46d312
mov dword [ebp - 0xfc], 0
call fcn.00402270
mov dword [ebp - 0x104], eax
push 0x5eb410
lea ecx, [ebp - 0x248]
call fcn.00413a30
mov dword [ebp - 0x2c4], eax
mov edx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c8], edx
mov byte [ebp - 4], 4
push 0x5eb448
lea ecx, [ebp - 0x24c]
call fcn.00413a30
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
push ecx
push 0
push 0x10
mov ecx, dword [ebp - 0x2c8]
call fcn.00413b90
push eax
mov ecx, dword [ebp - 0x2d0]
call fcn.00413b90
push eax
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.00413b70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.00413b70
mov dword [ebp - 0x100], 0
xor eax, eax
mov word [ebp - 0x18c], ax
push 0x7e
push 0
lea ecx, [ebp - 0x18a]
push ecx
call fcn.00568440
add esp, 0xc
xor edx, edx
mov word [ebp - 0xf4], dx
push 0x7e
push 0
lea eax, [ebp - 0xf2]
push eax
call fcn.00568440
add esp, 0xc
cmp dword [ebp - 0x5c], 0
jl 0x46d2fc
cmp dword [ebp - 0x68], 0
jbe 0x46d2fc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x204]
call fcn.00420cd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x100]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x46d2d7
cmp dword [ebp - 0x68], 0
jbe 0x46d2d7
push 0
push 0
lea ecx, [ebp - 0x234]
push ecx
push 0
push 0x5eb44c
mov edx, dword [ebp - 0x100]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jl 0x46cbf2
movzx eax, word [ebp - 0x234]
cmp eax, 1
je 0x46cbf2
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0xf8], ecx
cmp dword [ebp - 0xf8], 0
jne 0x46cb69
mov dword [ebp - 0x2d4], 0
jmp 0x46cbd3
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3fffffff
jle 0x46cb91
mov dword [ebp - 0x2d8], 0
jmp 0x46cbc7
mov eax, dword [ebp - 0x6c]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x2dc], esp
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x6c]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0x2dc]
push eax
call fcn.004022d0
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x204]
call fcn.00406110
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
lea ecx, [ebp - 0x234]
push ecx
push 0
push str.ProcessId
mov edx, dword [ebp - 0x100]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jl 0x46cc47
movzx eax, word [ebp - 0x234]
cmp eax, 1
je 0x46cc47
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x194], ecx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x224]
call fcn.00406020
mov byte [ebp - 4], 7
push 0x5eb46c
lea edx, [ebp - 0x204]
push edx
call fcn.00407ad0
add esp, 8
movzx eax, al
test eax, eax
je 0x46cc8e
push 0x5eb474
lea ecx, [ebp - 0x224]
call fcn.00406110
jmp 0x46cd47
push str.Registry
lea ecx, [ebp - 0x204]
push ecx
call fcn.00407ad0
add esp, 8
movzx edx, al
test edx, edx
je 0x46ccbe
push str.C:WindowsSystem32_ntoskrnl.exe
lea ecx, [ebp - 0x224]
call fcn.00406110
jmp 0x46cd47
push str.C:WindowsSystem32_
lea ecx, [ebp - 0x268]
call fcn.00406050
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.0041ea00
add esp, 0xc
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2ec]
push edx
lea ecx, [ebp - 0x224]
call fcn.004060f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x284]
call fcn.004060d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.004060d0
mov byte [ebp - 0x235], 1
push 0
push 0
lea eax, [ebp - 0x234]
push eax
push 0
push str.ExecutablePath
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x208], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x208], 0
jl 0x46ce97
movzx edx, word [ebp - 0x234]
cmp edx, 1
je 0x46ce97
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x46cdc0
mov dword [ebp - 0x2f0], 0
jmp 0x46ce2a
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3fffffff
jle 0x46cde8
mov dword [ebp - 0x2f4], 0
jmp 0x46ce1e
mov eax, dword [ebp - 0x6c]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x2f8], esp
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x6c]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0x2f8]
push edx
call fcn.004022d0
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
push ecx
lea ecx, [ebp - 0x1e8]
call fcn.00406110
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x59a90a
lea eax, [ebp - 0x1e8]
push eax
call fcn.00407ad0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x46ce95
lea ecx, [ebp - 0x224]
call fcn.00406190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x46ce83
mov byte [ebp - 0x235], 0
jmp 0x46ce95
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x1e8]
call fcn.004060f0
jmp 0x46cec8
lea ecx, [ebp - 0x224]
call fcn.00406190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x46ceb6
mov byte [ebp - 0x235], 0
jmp 0x46cec8
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.004060f0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, byte [ebp - 0x235]
test ecx, ecx
je 0x46d21e
push 0x80
push 0
lea edx, [ebp - 0x18c]
push edx
call fcn.00568440
add esp, 0xc
lea ecx, [ebp - 0x1e8]
call fcn.00406190
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x46cf1b
mov dword [ebp - 0x2fc], 0
jmp 0x46cf83
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3fffffff
jle 0x46cf43
mov dword [ebp - 0x300], 0
jmp 0x46cf77
mov eax, dword [ebp - 0x6c]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x304], esp
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.00402280
mov dword [ebp - 0x300], eax
mov edx, dword [ebp - 0x300]
mov dword [ebp - 0x2fc], edx
push 0x40
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x2fc]
push ecx
call fcn.004124b0
add esp, 0xc
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x46d04b
lea edx, [ebp - 0x18c]
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0
jne 0x46cfcf
mov dword [ebp - 0x308], 0
jmp 0x46d039
mov eax, dword [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3fffffff
jle 0x46cff7
mov dword [ebp - 0x30c], 0
jmp 0x46d02d
mov eax, dword [ebp - 0x6c]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x310], esp
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x6c]
shl edx, 1
push edx
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x310]
push ecx
call fcn.004022d0
mov dword [ebp - 0x30c], eax
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x308], edx
mov eax, dword [ebp - 0x308]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00406110
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
push 0
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00568440
add esp, 0xc
lea ecx, [ebp - 0x1e8]
call fcn.00406190
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x46d08f
mov dword [ebp - 0x314], 0
jmp 0x46d0f7
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3fffffff
jle 0x46d0b7
mov dword [ebp - 0x318], 0
jmp 0x46d0eb
mov eax, dword [ebp - 0x6c]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x31c], esp
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x31c]
push eax
call fcn.00402280
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x314], ecx
push 0x40
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0x314]
push eax
call fcn.00413640
add esp, 0xc
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x46d21e
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
cmp dword [ebp - 0xf8], 0
jne 0x46d143
mov dword [ebp - 0x320], 0
jmp 0x46d1ad
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3fffffff
jle 0x46d16b
mov dword [ebp - 0x324], 0
jmp 0x46d1a1
mov eax, dword [ebp - 0x6c]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x328], esp
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x6c]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0x328]
push eax
call fcn.004022d0
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x320], ecx
mov edx, dword [ebp - 0x320]
push edx
lea ecx, [ebp - 0x1cc]
call fcn.00406110
push 0x565782
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00406130
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00406160
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00406130
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.00407d50
add esp, 0x20
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [edx + 8]
call ecx
push 0x59a90b
lea edx, [ebp - 0x1b0]
push edx
call fcn.00407dd0
add esp, 8
movzx eax, al
test eax, eax
je 0x46d2c6
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x46d2b7
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x54]
call fcn.0047b3e0
push eax
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0046dff0
mov ecx, eax
call fcn.0047bd70
movzx edx, al
test edx, edx
je 0x46d2b5
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419280
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x54]
call fcn.00418f60
mov ecx, eax
call fcn.004060f0
jmp 0x46d2c6
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419280
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x224]
call fcn.004060d0
jmp 0x46d2e8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x204]
call fcn.00408870
jmp 0x46d2fc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x204]
call fcn.00408870
jmp 0x46ca9a
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x46d372
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [eax + 8]
call edx
call fcn.00414440
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
push eax
call fcn.00414400
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00419180
mov edx, dword [ebp - 0x2b8]
or edx, 1
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00416330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004062b0
mov eax, dword [ebp + 8]
jmp 0x46d3d8
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 8]
call ecx
call fcn.00414440
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00414400
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00419180
mov ecx, dword [ebp - 0x2b8]
or ecx, 1
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00416330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004062b0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x32c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x70]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret