Function at 0x415ad0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x4204]
mov eax, 0x4204
call fcn.004536f0
push 0xffffffffffffffff
push 0x471111
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x49ab20]
xor eax, ebp
mov dword [ebp + 0x4200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x4214]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004017b0
test eax, eax
jne 0x415b8b
push str.__CryptDiskDriverIsInstalled_Error_
call fcn.00414dc0
mov eax, dword [ebp + 0x4210]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4218]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x416409
mov ecx, dword [ebp + 0x4210]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
call esi
cmp eax, 0xffffffff
je 0x415baf
mov edx, dword [ebp + 0x4210]
push edx
call esi
test eax, 0x10000
je 0x415c25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x415c25
mov eax, dword [ebp + 0x4210]
push eax
push 0x477e7c
call fcn.00414dc0
mov eax, dword [ebp + 0x4210]
add eax, 0xfffffff0
add esp, 8
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415bf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4218]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x416409
push 0x3ffc
lea ecx, [ebp + 4]
push ebx
push ecx
mov dword [ebp], ebx
call fcn.00451660
push 0x1ff
lea edx, [ebp + 0x4001]
push ebx
push edx
mov byte [ebp + 0x4000], bl
call fcn.00451660
mov eax, dword [ebp + 0x4210]
add esp, 0x18
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0042f5f6
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x28]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call eax
push 0x4000
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0042ecf2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0042f0ea
lea edx, [ebp]
push edx
mov dword [ebp - 4], 1
call fcn.00414c30
add esp, 4
test eax, eax
jne 0x415d10
push str.__VerifyImageFileHeader_Error_
call fcn.00414dc0
mov eax, dword [ebp + 0x4210]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4218]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x416409
lea ecx, [ebp + 0x4000]
push ecx
lea edx, [ebp]
push edi
push edx
call fcn.00414f10
add esp, 0xc
test eax, eax
jne 0x415d8c
push str.__ConfirmPassword_Error_
call fcn.00414dc0
mov eax, dword [ebp + 0x4210]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4218]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x416409
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x415db9
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
xor eax, eax
cmp dword [ebp - 0x30], ebx
setne al
cmp eax, ebx
je 0x415e8b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x30], eax
jmp 0x415dd5
jmp 0x415dd9
lea edi, [eax + 0x796f]
xor edi, 0x501
or edi, 0x781a
add edi, 0x12
jmp 0x415df1
lea edx, [edi - 0xc]
and edx, 0x14
or edx, 0x199d6a
mov ecx, 0x110
sub ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x415e0a
mov edx, eax
and edx, 0x3844
xor edx, ecx
or edx, 0x41ab
mov esi, 0x796f
sub esi, edx
jmp 0x415e25
jmp 0x415e28
lea ecx, [esi + eax - 0x123]
lea eax, [esi + esi*8]
add eax, eax
cdq
mov ebx, 0x18
idiv ebx
and ecx, 0x332
and edx, 0x154
xor ecx, edx
and edi, ecx
jmp 0x415e50
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub eax, ecx
lea edx, [esi - 0x3f55]
add eax, 0x332
and eax, edx
mov ebx, 0x332
shl ebx, cl
lea edx, [esi - 0x41cf]
add esi, 0x422b
xor esi, edi
and edx, ebx
and edx, dword [ebp - 0x34]
or eax, edx
or eax, esi
jmp 0x415e86
jmp 0x41603b
mov dword [ebp - 0x18], 0x110
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x8456
mov dword [ebp - 0x2c], 0x4287
mov dword [ebp - 0x24], 0x332
mov dword [ebp - 0x1c], 0x3678
mov dword [ebp - 0x28], 0x12
jmp 0x415ec1
pushaw
mov eax, dword [ebp - 0x20]
jmp 0x415eca
mov ebx, dword [ebp - 0x2c]
jmp 0x415ed0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
jmp 0x415edd
mov edi, dword [ebp - 0x24]
and eax, ebx
jmp 0x415ee6
or eax, esi
and ebx, dword [ebp - 0x30]
jmp 0x415eef
add ebx, eax
sub ecx, eax
sub esi, eax
mov dword [ebp - 0x18], ebx
jmp 0x415efb
add edi, esi
and ebx, eax
jmp 0x415f04
xor esi, edi
add esi, ebx
jmp 0x415f0b
sub ecx, esi
add edi, ebx
jmp 0x415f13
xor ecx, edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], eax
jmp 0x415f1f
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], esi
jmp 0x415f2b
popaw
jmp 0x415f30
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x1c]
add esi, eax
and edx, esi
lea esi, [eax + eax*8]
add esi, esi
and esi, 0x23
xor edx, esi
and ecx, eax
or edx, ecx
or edx, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x415f5d
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
add esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
lea edx, [eax + ecx]
xor esi, edx
mov edx, dword [ebp - 0x28]
add eax, edx
xor eax, 0x19b
or esi, eax
add edx, esi
mov dword [ebp - 0x28], edx
jmp 0x415f85
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
lea edx, [edx + eax + 5]
and edx, eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0xd8
sar eax, 2
or edx, eax
sub dword [ebp - 0x18], edx
jmp 0x415fa8
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
mov edx, eax
and edx, ecx
xor edx, dword [ebp - 0x18]
add esi, 0x12
xor esi, dword [ebp - 0x24]
or edx, esi
sub eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x415fc6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
shl edx, cl
and eax, edx
and dword [ebp - 0x18], eax
jmp 0x415fdc
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
lea eax, [esi + esi*8]
add eax, eax
mov ebx, 0x18
mov edi, edx
cdq
idiv ebx
mov eax, dword [ebp - 0x2c]
add esi, eax
add esi, dword [ebp - 0x20]
and edi, edx
add esi, ecx
and esi, dword [ebp - 0x24]
xor edi, esi
and dword [ebp - 0x28], edi
jmp 0x41600d
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov edi, esi
sub edi, dword [ebp - 0x2c]
mov edx, esi
add edi, eax
sub edx, ecx
add edx, eax
mov eax, dword [ebp - 0x20]
and edi, edx
cdq
sub eax, edx
sar eax, 1
add eax, esi
xor eax, dword [ebp - 0x28]
or edi, eax
or dword [ebp - 0x18], edi
jmp 0x416038
mov eax, dword [ebp - 0x18]
jmp 0x41603f
mov ecx, 0x857
jmp 0x416048
add ecx, 7
sub eax, 0x2a91ae48
cmp ecx, 0x2334
jb 0x416044
jmp 0x41605c
imul eax, eax, 0x16c6d
mov ecx, eax
and ecx, 0xde8
xor ecx, 0xc960df20
jmp 0x416075
jmp 0x416078
imul eax, eax, 0x6c62669
sub eax, 2
imul eax, ecx
not ecx
add eax, 0xd9b
add ecx, 0x16c6d
xor eax, ecx
jmp 0x416097
jmp 0x41609b
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x14], eax
call fcn.0041e020
movzx ecx, word [ebp + 0x24f]
push 4
lea eax, [ebp - 0x14]
push eax
push ecx
lea edx, [ebp + 0x4000]
push edx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 6
call fcn.0041e1b0
mov eax, dword [ebp + 0x420c]
mov ecx, dword [ebp + 0x4220]
mov edx, dword [ebp + 0x421c]
push eax
movzx eax, word [ebp + 0x24f]
push ecx
push edx
mov edx, dword [ebp + 0x4218]
push 0
push eax
mov eax, dword [ebp + 0x4210]
lea ecx, [ebp + 0x4000]
push ecx
push edx
push eax
call fcn.004017d0
add esp, 0x20
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x41611d
push str.__CryptDiskMount_Error_
call fcn.00414dc0
add esp, 4
mov eax, dword [ebp + 0x4210]
mov edi, eax
test eax, eax
je 0x416155
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41613c
xor eax, eax
jmp 0x416155
lea esi, [eax + eax]
mov eax, esi
call fcn.004522f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00402960
push eax
call fcn.00414dc0
mov eax, dword [ebp + 0x4218]
add esp, 4
mov edi, eax
test eax, eax
je 0x416196
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41617d
xor eax, eax
jmp 0x416196
lea esi, [eax + eax]
mov eax, esi
call fcn.004522f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00402960
push eax
call fcn.00414dc0
lea eax, [ebp + 0x4000]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4161a8
sub eax, edx
mov edi, eax
call fcn.004376be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4161cd
push 0x80004005
call fcn.00403ca0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 7
call fcn.004376be
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4161fa
push 0x80004005
call fcn.00403ca0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
xor esi, esi
mov byte [ebp - 4], 8
test edi, edi
jle 0x416245
movzx ecx, byte [ebp + esi + 0x4000]
push ecx
lea edx, [ebp - 0x34]
push 0x477e10
push edx
call fcn.004069a0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx - 0xc]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.00404bc0
inc esi
cmp esi, edi
jl 0x416213
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x416289
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x416289
lea edi, [eax + eax]
mov eax, edi
call fcn.004522f0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x416289
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x41628b
xor eax, eax
push eax
call fcn.00414dc0
mov eax, dword [ebp + 0x4218]
add esp, 4
mov ebx, eax
test eax, eax
je 0x4162e0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x4162e0
lea edi, [eax + eax]
mov eax, edi
call fcn.004522f0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x4162e0
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4162e2
xor eax, eax
push eax
call fcn.00414dc0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41630e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416331
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 1
call fcn.0041e030
mov eax, dword [ebp + 0x4210]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4218]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41638f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
jmp 0x41640b
xor eax, eax
lea esp, [ebp - 0x468]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4200]
xor ecx, ebp
call fcn.004522e0
add ebp, 0x4204
mov esp, ebp
pop ebp
ret