Function at 0x4c60f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x128
mov esi, esp
mov dword [esi + 0x110], ebp
mov dword [esi + 0x114], esp
mov dword [esi + 0x120], 0xffffffff
mov dword [esi + 0x11c], 0x4c6d00
lea eax, [esi + 0x118]
mov ecx, dword fs:[0]
mov dword [esi + 0x118], ecx
mov dword fs:[0], eax
mov dword [esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esi + 0x24]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4c6176
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x4c6181
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp ebx, 0xffffffff
je 0x4c6185
call fcn.0040e440
jmp 0x4c6187
mov dword [esi], 0
jmp 0x4c6418
xor ebx, ebx
jmp 0x4c618e
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi + 0x20]
mov dword [esi + 0x20], 0
mov dword [esi + 0x120], 3
push eax
push 1
push 1
push 0
push 0xf01ff
mov dword [esi + 0xc], ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4c61f5
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4c6200
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
lea edx, [ecx + 1]
mov dword [esi + 4], 0
cmp edx, 2
jb 0x4c61ec
mov dword [esi + 8], eax
call fcn.0040e440
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esi + 4], ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4c6207
mov dword [esi], 0
jmp 0x4c63f8
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x120], 4
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push eax
push str.NtSuspendProcess
call fcn.0043c2d0
add esp, 8
lea eax, [esi + 0x1c]
push eax
push str.NtResumeProcess
call fcn.0043c2d0
add esp, 8
cmp byte [esi + 0x14], 0
je 0x4c62fb
mov edi, dword [0x6d1f60]
mov eax, dword [edi]
mov ebx, dword [eax + 0x14]
mov dword [esi + 0x120], 0xffffffff
mov ecx, ebx
call dword [0x64689c]
mov ecx, edi
mov dword [esi + 0x120], 5
call ebx
lea ecx, [esi + 0x28]
push eax
call fcn.004c66a0
mov eax, dword [esi + 0x28]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x4c62a3
cmp byte [esi + 0x2c], 0
je 0x4c642e
cmp byte [esi + 0x2c], 0
je 0x4c634d
mov dword [esi + 0x120], 6
call fcn.00406c70
cmp eax, 3
mov ecx, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
jl 0x4c6355
push ecx
push dword [ebp + 0x2c]
push ebx
push dword [ebp + 0x24]
push edi
push edx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call fcn.004c5d30
add esp, 0x30
jmp 0x4c639d
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4c6568
cmp dword [esi + 0x1c], 0
mov dword [esi], 0
je 0x4c63d8
mov edi, dword [esi + 0x10]
mov dword [esi + 0x120], 0xffffffff
call dword [0x64689c]
mov dword [esi + 0x120], 5
push edi
call ecx
test eax, eax
je 0x4c657d
cmp byte [esi + 0x14], 0
jne 0x4c625a
jmp 0x4c63d8
mov dword [esi], 0
jmp 0x4c639f
sub esp, 0x30
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.004c5e70
add esp, 0x30
mov dword [esi], eax
lea ecx, [esi + 0x28]
call fcn.004c6830
cmp byte [esi + 0x14], 0
je 0x4c63d8
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4c63d8
mov edi, dword [esi + 0x10]
mov dword [esi + 0x120], 0xffffffff
call dword [0x64689c]
mov dword [esi + 0x120], 0
push edi
call ecx
mov byte [esi + 0x14], 0
cmp dword [esi + 4], 0
je 0x4c63f8
mov dword [esi + 0x120], 1
call fcn.0040e440
push dword [esi + 4]
call fcn.0040f9e0
add esp, 4
cmp dword [esi + 0xc], 0
je 0x4c6418
mov dword [esi + 0x120], 2
call fcn.0040e440
push dword [esi + 0xc]
call fcn.0040f9e0
add esp, 4
mov eax, dword [esi + 0x118]
mov dword fs:[0], eax
mov eax, dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x30]
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x120], 6
push 0
push 0x70
push ecx
push 9
push eax
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x4c62a3
lea edi, [esi + 0xa0]
push 0x70
lea eax, [esi + 0x30]
push eax
push edi
call fcn.0061e340
add esp, 0xc
or byte [esi + 0xb1], 8
push 0x70
push edi
push 9
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x4c62a3
mov byte [esi + 0x2c], 1
jmp 0x4c62a3
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x4c63de
jmp 0x4c63f8
mov byte [esi + 0x14], 1
jmp 0x4c625a