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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ea5c
mov eax, dword fs:[0]
push eax
sub esp, 0x124
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 - 0xd0], 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 0x415868
xor eax, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
push eax
push eax
lea eax, [ebp - 0x48]
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 0x41588a
push 1
xor eax, eax
mov dword [ebp - 0xe0], edi
push 0x53f614
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
call fcn.00414320
push edi
lea eax, [ebp - 0xf0]
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 - 0xdc]
cmp edx, 8
jb 0x414ec1
mov ecx, dword [ebp - 0xf0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414eb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0xf0], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xd4], ecx
cmp eax, ecx
je 0x415785
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x414f02
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415764
test al, 0x10
je 0x415764
mov ecx, dword [ebp - 0x38]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x19
jb 0x4158b6
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0x19
cmovae eax, dword [ebp - 0x48]
push 0x53f618
push ecx
push eax
push ecx
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x60]
call fcn.0041ba50
or edi, 4
mov eax, dword [ebp - 0x9c]
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x414f67
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0xbc], 0
xor eax, eax
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414f90
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xcc]
call fcn.00414320
mov byte [ebp - 4], 6
lea eax, [ebp - 0xcc]
cmp dword [ebp - 0xb8], 8
lea ecx, [ebp - 0x98]
push 0xd
cmovae eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xf4], eax
xor eax, eax
push str._USERPROFILE_
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.00414320
mov byte [ebp - 4], 7
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea edx, [ebp - 0x100]
lea ecx, [ebp - 0x60]
cmovae eax, dword [ebp - 0x98]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00419850
mov byte [ebp - 4], 6
add esp, 4
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x41508b
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415081
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp edx, 8
jb 0x4150ec
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4150e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
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 - 0x60]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x24]
call fcn.0045d060
test al, al
jne 0x4151e4
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 - 0x4c]
cmp edx, 8
jb 0x415764
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4151d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
jmp 0x415764
push 6
xor eax, eax
mov dword [ebp - 0xbc], 0
push str.vaults
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
call fcn.00414320
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24]
call fcn.00460a90
mov byte [ebp - 4], 8
mov esi, eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xd8], esi
cmp edx, 8
jb 0x415272
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415268
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 0xbc], 0
push 1
push 0x53f678
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.00414320
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xa
or edi, 1
mov ecx, esi
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0xd0], edi
call fcn.00419240
test al, al
je 0x415332
push 1
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x53f67c
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.00414320
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 0xb
or edi, 2
mov ecx, esi
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0xd0], edi
call fcn.00419240
mov byte [ebp - 0x79], 1
test al, al
je 0x415336
mov byte [ebp - 0x79], 0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x80]
test al, 2
je 0x4153aa
mov edx, dword [ebp - 0x84]
and eax, 0xfffffffd
mov dword [ebp - 0x80], eax
cmp edx, 8
jb 0x41538d
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415380
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
mov eax, dword [ebp - 0x80]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], cx
mov dword [ebp - 4], 8
test al, 1
je 0x4153fb
mov edx, dword [ebp - 0xa0]
and eax, 0xfffffffe
mov dword [ebp - 0x80], eax
cmp edx, 8
jb 0x4153fb
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4153f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
cmp byte [ebp - 0x79], 0
je 0x4156b2
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb4]
push 1
push 0x53f678
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.00414320
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xb4]
mov ecx, esi
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00460fb0
mov esi, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x98]
push 1
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x53f67c
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
call fcn.00414320
mov edi, dword [ebp - 0xd8]
lea eax, [ebp - 0x98]
push esi
push eax
mov byte [ebp - 4], 0xf
lea ecx, [edi + 8]
call fcn.00419b80
mov ecx, eax
call fcn.00419190
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x415509
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4154ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp edx, 8
jb 0x41556a
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415560
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
cmp edx, 8
jb 0x4155cb
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4155c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
cmp edx, 8
jb 0x41562c
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415622
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0xa4], 0
push 0x53f678
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.00414320
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [edi + 8]
call fcn.0041a100
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x4156b2
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4156a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
lea ecx, [ebp - 0x7a]
call fcn.00422d10
sub esp, 8
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x24]
push eax
call fcn.0045d610
mov byte [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ecx, byte [ebp - 0x7a]
push 0
push eax
push ecx
call fcn.00424620
mov eax, dword [ebp - 0x1c]
add esp, 0xc
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 - 0x4c]
cmp edx, 8
jb 0x415761
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415757
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158ac
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x9c]
add eax, 0x18
mov dword [ebp - 0x9c], eax
cmp eax, dword [ebp - 0xd4]
jne 0x414ef8
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4157dd
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 0x4157d3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158b1
push ecx
push esi
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x415817
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41580d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158bb
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x41584d
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158bb
push edx
push ecx
call fcn.004d06e3
add esp, 8
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.00414310
call fcn.004ebf29
int3