Function at 0x4351b5
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x437043
call fcn.0040fcb5
mov ebx, ecx
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x51], 0
call fcn.00434982
test al, al
jne 0x4353f1
push 2
mov byte [ebp - 0x52], al
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
setne al
mov byte [ebp - 0x52], al
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebx], ecx
cmp byte [ebx + 0x20], cl
je 0x4353fc
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.0043515c
push eax
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00434d49
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push esi
push eax
mov ecx, ebx
call fcn.0043515c
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00434c6d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
push ecx
mov edi, SysReAllocString
lea edx, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.00435c5b
mov byte [ebp - 0x51], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00402823
cmp byte [ebp - 0x51], 0
je 0x435344
push esi
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0043515c
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.00434b0e
mov byte [ebp - 4], 5
lea edx, [ebp - 0x6c]
push edx
push eax
lea edx, [ebp - 0x38]
mov ecx, edi
call fcn.00435c5b
mov byte [ebp - 0x51], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00402823
cmp byte [ebp - 0x51], 0
je 0x43533c
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x60]
mov ecx, ebx
push eax
sub edi, esi
call fcn.00434f90
push dword [ebp - 0x70]
lea ecx, [ebp - 0x78]
mov edx, esi
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push edi
mov ecx, eax
call fcn.0043448d
mov byte [ebp - 0x51], al
test al, al
je 0x43533c
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
movzx eax, cl
mov dword [edx], eax
test ecx, 0x100
je 0x43535a
mov eax, dword [ebp - 0x70]
mov ecx, ebx
mov edi, dword [eax]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
sub esi, edi
call fcn.0043515c
push esi
push edi
push dword [ebp - 0x80]
lea ecx, [ebx + 0x24]
push eax
call fcn.00433c70
mov byte [ebp - 0x51], al
test al, al
jne 0x43535a
mov eax, ebx
mov dword [eax], 0x186a9
jmp 0x43535a
mov dword [ebx], 0x186a9
jmp 0x43535a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x186a6
cmp eax, 2
lea edx, [ecx - 2]
cmove ecx, edx
mov dword [ebx], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402823
mov byte [ebp - 4], 1
mov esi, 0x1000
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x4353a7
mov edx, dword [ebp - 0x64]
mov eax, ecx
sub edx, ecx
cmp edx, esi
jb 0x435391
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435404
push edx
push ecx
call fcn.0040f9bd
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
jmp 0x4353a9
xor ebx, ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x4353e0
mov edx, dword [ebp - 0x58]
mov eax, ecx
sub edx, ecx
cmp edx, esi
jb 0x4353ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435404
push edx
push ecx
call fcn.0040f9bd
pop ecx
pop ecx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov al, byte [ebp - 0x52]
or dword [ebp - 4], 0xffffffff
test al, al
je 0x4353f1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov al, byte [ebp - 0x51]
call fcn.0040fc5f
ret 0xc
mov dword [ebx], 0x186a2
jmp 0x4353e3
call fcn.0041521a
int3