Function at 0x43bd20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4c08c0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push str.NtCreateLowBoxToken
call fcn.0043c2d0
add esp, 8
call fcn.00406c70
mov esi, 0x78
cmp eax, 5
jl 0x43c14d
cmp dword [ebp + 0xc], 1
mov esi, 0x57
ja 0x43c14d
cmp dword [ebp + 0x1c], 0
je 0x43c14d
mov ecx, dword [ebp + 8]
xor esi, esi
test ecx, ecx
je 0x43bed3
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], 0x18
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
test ecx, ecx
mov edx, dword [eax]
mov edi, dword [eax + 8]
cmove ebx, ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x50]
call dword [0x64689c]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 4
lea edx, [ebp - 0x4c]
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x54]
push edi
push dword [ebp - 0x20]
push eax
push 0xf01ff
push dword [ebp - 0x34]
push edx
call ecx
test eax, eax
js 0x43bf68
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], 0
test eax, eax
mov dword [ebp - 0x20], eax
je 0x43beaf
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x2c]
mov ecx, eax
inc edx
cmp edx, 2
jb 0x43be82
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
call fcn.0040e440
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
push eax
call fcn.0040f9e0
mov ecx, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, 2
jb 0x43bea2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
call fcn.0040e440
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp + 0xc], 1
jne 0x43bf88
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], 5
push eax
call fcn.0043c350
xor esi, esi
jmp 0x43c121
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x24], 0
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43c07a
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x43c09b
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
lea esi, [ecx + 1]
mov edx, eax
mov dword [ebp - 0x28], 0
cmp esi, 2
jb 0x43bf50
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], edx
call fcn.0040e440
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x28]
jmp 0x43bd9e
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
push eax
call fcn.004aeb00
add esp, 4
mov esi, eax
cmp dword [ebp - 0x28], 0
jne 0x43c130
jmp 0x43c14d
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 5
push ecx
push 2
push 2
push 0
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x43c08e
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0
test eax, eax
mov dword [ebp - 0x20], eax
je 0x43c017
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x30]
mov ecx, eax
inc edx
cmp edx, 2
jb 0x43bff6
mov dword [ebp - 0x34], ecx
call fcn.0040e440
push dword [ebp - 0x30]
call fcn.0040f9e0
mov ecx, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, 2
jb 0x43c010
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
call fcn.0040e440
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 6
lea esi, [ebp - 0x40]
mov edx, 4
push eax
push esi
call fcn.0040f7b0
add esp, 8
mov esi, eax
test eax, eax
jne 0x43c0ac
push dword [ebp - 0x44]
push 4
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
test eax, eax
je 0x43c0a4
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x30]
push eax
call fcn.0043c350
xor esi, esi
jmp 0x43c0ac
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x43c14d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x43c121
xor ecx, ecx
xor esi, esi
jmp 0x43bd9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43c0f4
mov eax, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 0x1000
jb 0x43c0d5
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43c18c
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
inc eax
cmp eax, 2
jb 0x43c121
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 1
call fcn.0040e440
push dword [ebp - 0x30]
call fcn.0040f9e0
add esp, 4
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
inc eax
cmp eax, 2
jae 0x43c160
cmp dword [ebp - 0x28], 0
je 0x43c14d
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x20], esi
call fcn.0040e440
push dword [ebp - 0x28]
call fcn.0040f9e0
mov esi, dword [ebp - 0x20]
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
call fcn.0040e440
push dword [ebp - 0x2c]
call fcn.0040f9e0
add esp, 4
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x28], 0
jne 0x43c130
jmp 0x43c14d
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x24
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x24
add ebp, 0xc
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43c1fb
mov eax, dword [ebp - 0x38]
sub eax, ecx
cmp eax, 0x1000
jb 0x43c1dc
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43c220
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
inc eax
cmp eax, 2
jb 0x43c21b
call fcn.0040e440
push dword [ebp - 0x30]
call fcn.0040f9e0
add esp, 4
mov dword [ebp - 0x30], 0
add esp, 0x24
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x24
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x24
add ebp, 0xc
mov eax, dword [ebp - 0x2c]
inc eax
cmp eax, 2
jb 0x43c267
call fcn.0040e440
push dword [ebp - 0x2c]
call fcn.0040f9e0
add esp, 4
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
add esp, 0x24
pop ebp
ret