Function at 0x439f10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4c1d10
mov esi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp byte [esi + 0x38], 0
je 0x43a0aa
mov edi, dword [esi + 4]
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], esi
sub edi, dword [esi]
mov dword [ebp - 0x38], edx
sub edx, ebx
mov ecx, edx
sar ecx, 2
imul eax, ecx, 0xf0f0f0f1
mov ecx, edi
mov dword [ebp - 0x2c], eax
sar ecx, 2
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
test edx, edx
mov dword [ebp - 0x40], ecx
mov ecx, 0
je 0x439ff9
mov ecx, 8
mul ecx
mov edx, 0xffffffff
cmovno edx, eax
push edx
call fcn.005d8940
add esp, 4
cmp dword [ebp - 0x38], ebx
mov ecx, eax
je 0x439ff9
mov dword [ebp - 0x38], edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x24], ecx
nop word cs:[eax + eax]
nop
add ebx, edi
mov dword [ecx + esi*8 + 4], 0x10
mov ecx, ebx
call fcn.0040d830
mov ecx, dword [ebp - 0x24]
add edi, 0x44
mov dword [ecx + esi*8], eax
mov eax, dword [ebp - 0x28]
inc esi
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
sub eax, ebx
sar eax, 2
imul eax, eax, 0xf0f0f0f1
cmp esi, eax
jb 0x439fc0
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
imul ebx, dword [ebp - 0x20], 0xf0f0f0f1
test edi, edi
mov dword [ebp - 0x24], ecx
je 0x43a059
mov ecx, 8
mov eax, ebx
mul ecx
mov edx, 0xffffffff
cmovno edx, eax
xor esi, esi
push edx
call fcn.005d8940
add esp, 4
mov dword [ebp - 0x20], ebx
mov ebx, eax
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
mov dword [ebx + edi*8 + 4], 0
mov ecx, dword [eax]
add ecx, esi
call fcn.0040d830
mov dword [ebx + edi*8], eax
inc edi
add esi, 0x44
cmp edi, dword [ebp - 0x20]
jb 0x43a030
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov edi, eax
sar edi, 3
test eax, eax
je 0x43a0b4
mov ecx, 0xc
mov eax, edi
mul ecx
mov edx, 0xffffffff
cmovno edx, eax
push edx
call fcn.005d8940
add esp, 4
mov ecx, eax
mov eax, dword [esi + 0xc]
xor edx, edx
mov dword [ebp - 0x20], ecx
add ecx, 8
nop dword [eax]
mov dword [ecx], 0
movsd xmm0, qword [eax + edx*8]
inc edx
movsd qword [ecx - 8], xmm0
add ecx, 0xc
cmp edx, edi
jb 0x43a090
jmp 0x43a0bb
mov ecx, 0x3f0
jmp 0x43a34d
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
or eax, edx
or eax, edi
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x10], 0xffffffff
je 0x43a0f3
push ecx
push dword [ebp - 0x30]
push ebx
push dword [ebp - 0x20]
push edi
mov ebx, dword [ebp - 0x24]
push ebx
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CreateRestrictedToken]
jmp 0x43a109
push ecx
push 1
push 1
push 0
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ebx, dword [ebp - 0x24]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
mov dword [ebp - 0x2c], eax
je 0x43a121
push ebx
call fcn.005db8b4
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43a131
push eax
call fcn.005db8b4
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43a141
push eax
call fcn.005db8b4
add esp, 4
test edi, edi
je 0x43a160
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x43a168
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp edi, 0xffffffff
je 0x43a16c
call fcn.0040e440
jmp 0x43a16e
mov ecx, dword [ebp - 0x2c]
jmp 0x43a34d
xor edi, edi
jmp 0x43a178
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x28]
cmp byte [esi + 0x39], 0
mov dword [ebp - 0x24], edi
je 0x43a1a0
mov dword [ebp - 0x10], 1
push edi
call fcn.0043a3b0
add esp, 4
test al, al
jne 0x43a1fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43a325
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 1
push eax
push edi
call fcn.004182b0
add esp, 8
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x43a241
xor al, 1
jne 0x43a241
lea ecx, [ebp - 0x84]
push edx
call fcn.0040d3c0
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x24]
call fcn.004c1ad0
add esp, 8
mov byte [ebp - 0x20], al
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
je 0x43a241
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x30], eax
nop dword [eax]
cmp ecx, dword [ebp - 0x30]
je 0x43a24b
lea eax, [ecx + 8]
push dword [ecx]
mov dword [ebp - 0x20], ecx
push dword [ecx + 4]
push eax
push dword [ebp - 0x24]
call fcn.00418420
add esp, 0x10
mov ecx, dword [ebp - 0x20]
add ecx, 0x4c
test al, al
jne 0x43a210
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43a325
mov ecx, 5
jmp 0x43a327
push 0x10000000
push dword [ebp - 0x24]
call fcn.0043a4a0
add esp, 8
test al, al
je 0x43a31f
mov eax, dword [ebp - 0x28]
push dword [eax + 0x34]
push dword [ebp - 0x24]
call fcn.00417a80
add esp, 8
mov ecx, eax
test eax, eax
jne 0x43a327
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x84]
push 0
push 0
push 0xf01ff
push ecx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x43a362
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], edx
mov dword [ebp - 0x28], edx
je 0x43a327
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
inc eax
cmp eax, 2
jb 0x43a2f8
mov dword [ebp - 0x20], ecx
call fcn.0040e440
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0040f9e0
mov ecx, dword [ebp - 0x20]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp - 0x28]
inc eax
cmp eax, 2
jb 0x43a314
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [eax], edx
call fcn.0040e440
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ecx, ecx
jmp 0x43a327
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 2
jb 0x43a34d
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], ecx
call fcn.0040e440
push dword [ebp - 0x24]
call fcn.0040f9e0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43a325