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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f476
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x55f2b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
push 1
push eax
mov dword [ebp - 4], eax
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
lea eax, [ebp - 0x78]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.ProfilesDirectory
call fcn.00465610
add esp, 0x10
test al, al
je 0x41ebfb
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
push eax
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
push str.Local_AppData
mov edx, str..DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov ecx, reloc.WS2_32.dll_closesocket
call fcn.00465610
add esp, 0x10
test al, al
je 0x41ec1d
push 1
xor eax, eax
mov dword [ebp - 0xc4], edi
push 0x53f614
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
call fcn.00414320
push edi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 2
push edi
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x30]
call fcn.00462eb0
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xc0]
cmp edx, 8
jb 0x41e311
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e307
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec3f
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xbc], ecx
cmp eax, ecx
je 0x41e9d4
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41e352
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e9b3
test al, 0x10
je 0x41e9b3
mov ecx, dword [ebp - 0x50]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x19
jb 0x41ec4e
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push 0x19
cmovae eax, dword [ebp - 0x60]
push 0x53f618
push ecx
push eax
push ecx
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x48]
call fcn.0041ba50
or edi, 0x10
mov eax, dword [ebp - 0x88]
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x41e3b7
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0xa8], 0
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e3e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb8]
call fcn.00414320
mov byte [ebp - 4], 6
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xa0]
push 0xd
cmovae eax, dword [ebp - 0xb8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xf0], eax
xor eax, eax
push str._USERPROFILE_
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00414320
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0xa0]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00419850
mov byte [ebp - 4], 6
add esp, 4
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x41e4db
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e4d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec3f
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x41e53c
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e532
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec3f
push edx
push ecx
call fcn.004d06e3
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.0041b530
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 3
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.00417e00
mov dword [esi + 4], esi
lea eax, [ebp - 0x1c]
mov dword [esi], esi
mov ecx, eax
mov dword [esi + 8], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push dword [esi + 4]
push eax
call fcn.00417db0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x24]
call fcn.0045d060
test al, al
jne 0x41e634
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.00417db0
push 0x40
push dword [ebp - 0x1c]
call fcn.004d06e3
mov eax, dword [ebp - 0x24]
add esp, 8
push dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.00417e00
push 0x38
push dword [ebp - 0x24]
call fcn.004d06e3
mov byte [ebp - 4], 4
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x41e9b3
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e625
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec49
push edx
push ecx
call fcn.004d06e3
add esp, 8
jmp 0x41e9b3
push 6
xor eax, eax
mov dword [ebp - 0x104], 0
push str.vaults
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
call fcn.00414320
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 9
or edi, 1
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 0x84], edi
call fcn.00460a90
mov esi, eax
mov dword [ebp - 0xdc], 0
push 1
xor eax, eax
mov dword [ebp - 0xd8], 7
push 0x53f678
lea ecx, [ebp - 0xec]
mov word [ebp - 0xec], ax
call fcn.00414320
lea eax, [ebp - 0xec]
mov dword [ebp - 4], 0xa
or edi, 2
mov ecx, esi
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], edi
call fcn.00419240
test al, al
jne 0x41e781
push 6
xor eax, eax
mov dword [ebp - 0x90], 0
push str.vaults
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00414320
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0xb
or edi, 4
lea ecx, [ebp - 0x24]
push eax
mov dword [ebp - 0x84], edi
call fcn.00460a90
mov esi, eax
mov dword [ebp - 0xa8], 0
push 1
xor eax, eax
mov dword [ebp - 0xa4], 7
push 0x53f67c
lea ecx, [ebp - 0xb8]
mov word [ebp - 0xb8], ax
call fcn.00414320
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0xc
or edi, 8
mov ecx, esi
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], edi
call fcn.00419240
mov byte [ebp - 0x79], 0
test al, al
je 0x41e785
mov byte [ebp - 0x79], 1
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x80]
test al, 8
je 0x41e7f9
mov edx, dword [ebp - 0xa4]
and eax, 0xfffffff7
mov dword [ebp - 0x80], eax
cmp edx, 8
jb 0x41e7dc
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e7cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec3f
push edx
push ecx
call fcn.004d06e3
mov eax, dword [ebp - 0x80]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], cx
mov dword [ebp - 4], 0xa
test al, 4
je 0x41e86a
mov edx, dword [ebp - 0x8c]
and eax, 0xfffffffb
mov dword [ebp - 0x80], eax
cmp edx, 8
jb 0x41e84d
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e840
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec3f
push edx
push ecx
call fcn.004d06e3
mov eax, dword [ebp - 0x80]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], cx
mov dword [ebp - 4], 9
test al, 2
je 0x41e8db
mov edx, dword [ebp - 0xd8]
and eax, 0xfffffffd
mov dword [ebp - 0x80], eax
cmp edx, 8
jb 0x41e8be
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e8b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec3f
push edx
push ecx
call fcn.004d06e3
mov eax, dword [ebp - 0x80]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], cx
mov dword [ebp - 4], 8
test al, 1
je 0x41e92c
mov edx, dword [ebp - 0x100]
and eax, 0xfffffffe
mov dword [ebp - 0x80], eax
cmp edx, 8
jb 0x41e92c
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e922
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec3f
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push dword [eax + 4]
mov eax, ecx
push eax
call fcn.00417db0
push 0x40
push dword [ebp - 0x1c]
call fcn.004d06e3
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
add esp, 8
push dword [eax + 4]
mov eax, ecx
push eax
call fcn.00417e00
push 0x38
push dword [ebp - 0x24]
call fcn.004d06e3
add esp, 8
cmp byte [ebp - 0x79], 0
jne 0x41ea2f
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x41e9b0
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e9a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec49
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x88]
add eax, 0x18
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0xbc]
jne 0x41e348
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41eb6e
push ecx
mov edx, ecx
mov ecx, eax
call fcn.00416eb0
mov ecx, dword [ebp - 0x28]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x30]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41eb64
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec44
jmp 0x41eb64
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x41ea69
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ea5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec49
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
test ecx, ecx
je 0x41eaec
mov edx, dword [ebp - 0x2c]
push ecx
call fcn.00416eb0
mov ecx, dword [ebp - 0x28]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x30]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41eacd
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec49
push ecx
push esi
call fcn.004d06e3
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x41eb26
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41eb1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec49
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x41eb60
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41eb56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec49
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov al, 1
jmp 0x41ebe0
push ecx
push esi
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x41eba8
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41eb9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec53
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x41ebde
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ebd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec53
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d0675
mov esp, ebp
pop ebp
ret
push str.Unable_to_retrieve_profiles_directory_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.00468e50
push 0x55c1ac
lea eax, [ebp - 0x24]
push eax
call fcn.004e81cb
push str.Unable_to_retrieve_Local_AppData_directory_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.00468e50
push 0x55c1ac
lea eax, [ebp - 0x24]
push eax
call fcn.004e81cb
call fcn.004ebf29
call fcn.004ebf29
call fcn.004ebf29
call fcn.00414310
call fcn.004ebf29
int3