Function at 0x47ef10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503b28
mov eax, dword fs:[0]
push eax
sub esp, 0x124
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x130]
mov ecx, 0x49
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x79daf4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
jne 0x47ef7d
push str.pszFileName___0
push 0
mov eax, dword [0x528138]
add eax, 2
push eax
push str.c:_vmagent_new_binjoblist383960_src_a_capital_antiblackdriver_win32_debug360lpubdevinclude360deepscan360dscommon360base.cpp
push 2
call fcn.0045665e
add esp, 0x14
cmp eax, 1
jne 0x47ef7d
int3
cmp dword [ebp + 8], 0
jne 0x47ef8a
xor eax, eax
jmp 0x47f1f5
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.0045761c
test eax, eax
jne 0x47efa8
xor eax, eax
jmp 0x47f1f5
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0xa
mov ecx, dword [ebp - 0x14]
call fcn.004573f1
cmp dword [ebp - 0x20], 0
je 0x47efdc
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x20]
cmp esi, esp
call fcn.0045761c
jmp 0x47f1f5
lea ecx, [ebp - 0x2c]
call fcn.00457432
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00457a77
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004588aa
cmp dword [ebp + 0xc], 0
je 0x47f00b
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0045776b
test eax, eax
je 0x47f1d6
lea ecx, [ebp - 0x2c]
call fcn.00458e0e
mov dword [ebp - 0x130], eax
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
cmp esi, esp
call fcn.0045761c
test eax, eax
je 0x47f1d6
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
call fcn.00458e0e
mov dword [ebp - 0x130], eax
mov esi, esp
lea eax, [ebp - 0x38]
push eax
push 4
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
cmp esi, esp
call fcn.0045761c
test eax, eax
je 0x47f0df
mov eax, dword [ebp - 0x38]
shl eax, 0x10
sar eax, 0x1c
cmp eax, 2
je 0x47f0ac
mov eax, dword [ebp - 0x38]
shl eax, 0x10
sar eax, 0x1c
cmp eax, 3
jne 0x47f0df
cmp dword [ebp + 0xc], 0
je 0x47f0bb
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov dword [ebp - 0x128], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004573a6
mov eax, dword [ebp - 0x128]
jmp 0x47f1f5
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
call fcn.00458e0e
mov dword [ebp - 0x130], eax
mov esi, esp
lea eax, [ebp - 0x38]
push eax
push 3
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
cmp esi, esp
call fcn.0045761c
test eax, eax
je 0x47f15c
mov eax, dword [ebp - 0x38]
shl eax, 0x14
sar eax, 0x1c
cmp eax, 3
jne 0x47f15c
cmp dword [ebp + 0xc], 0
je 0x47f138
mov eax, dword [ebp + 0xc]
mov dword [eax], 3
mov dword [ebp - 0x11c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004573a6
mov eax, dword [ebp - 0x11c]
jmp 0x47f1f5
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
call fcn.00458e0e
mov dword [ebp - 0x130], eax
mov esi, esp
lea eax, [ebp - 0x38]
push eax
push 5
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
cmp esi, esp
call fcn.0045761c
test eax, eax
je 0x47f1d6
mov eax, dword [ebp - 0x38]
shl eax, 0xc
sar eax, 0x1c
cmp eax, 3
jne 0x47f1d6
cmp dword [ebp + 0xc], 0
je 0x47f1b5
mov eax, dword [ebp + 0xc]
mov dword [eax], 4
mov dword [ebp - 0x110], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004573a6
mov eax, dword [ebp - 0x110]
jmp 0x47f1f5
mov dword [ebp - 0x104], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004573a6
mov eax, dword [ebp - 0x104]
push edx
mov ecx, ebp
push eax
lea edx, [0x47f228]
call fcn.00456776
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x130
cmp ebp, esp
call fcn.0045761c
mov esp, ebp
pop ebp
ret 8