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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c892
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xec], edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
jne 0x4585f2
cmp dword [ebp + 0x1c], ebx
je 0x4585f8
push 9
mov edx, 0x5612fc
lea ecx, [ebp - 0x40]
call fcn.0040a290
add esp, 4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x458564
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.004075f0
push ecx
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movlpd qword [ebp - 0xf8], xmm0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
call fcn.0041d800
mov byte [ebp - 4], 1
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4585ad
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4585d9
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x458696
cmp dword [ebp + 0x1c], 0
jne 0x45864d
push 9
mov edx, 0x5612fc
lea ecx, [ebp - 0x40]
call fcn.0040a290
add esp, 4
mov byte [ebp - 4], 3
mov ebx, 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0xdc], ebx
jb 0x458621
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf0], esp
push eax
call fcn.004075f0
mov dword [ebp - 4], 4
mov byte [ebp - 4], 3
call fcn.0045acc0
mov byte [ebp - 0xd1], 1
test al, al
jne 0x458654
mov byte [ebp - 0xd1], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x458689
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x458675
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp byte [ebp - 0xd1], 0
jne 0x458e44
push 0
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00417840
add esp, 4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x10]
push eax
mov dword [ebp - 0xf0], ecx
call fcn.00406230
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4586d4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403550
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
add edi, 0x70
mov byte [ebp - 4], 6
push edi
lea ecx, [ebp - 0xe8]
call fcn.0044b8a0
push 8
mov edx, 0x5612ec
lea ecx, [ebp - 0x28]
call fcn.0040a290
add esp, 4
mov esi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.00412a20
mov ebx, eax
mov byte [ebp - 4], 8
cmp dword [esi + 0x14], 8
jb 0x458748
mov esi, dword [esi]
sub esp, 8
mov ecx, esp
mov dword [ecx], esi
test esi, esi
je 0x45876f
cmp word [esi], 0
jne 0x45875d
xor esi, esi
jmp 0x45876f
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x458760
sub esi, edx
sar esi, 1
lea eax, [ebp - 0x88]
mov dword [ecx + 4], esi
push eax
mov ecx, ebx
call fcn.00412da0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x458799
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4587c6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x14], 7
push 8
mov edx, 0x5612bc
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
call fcn.0040a290
add esp, 4
mov esi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.00412a20
mov edi, eax
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 8
jb 0x45880b
mov esi, dword [esi]
sub esp, 8
mov ecx, esp
mov dword [ecx], esi
test esi, esi
je 0x458832
cmp word [esi], 0
jne 0x458820
xor esi, esi
jmp 0x458832
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x458823
sub esi, edx
sar esi, 1
lea eax, [ebp - 0x70]
mov dword [ecx + 4], esi
push eax
mov ecx, edi
call fcn.00412da0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x458859
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x458886
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
cmp dword [ebp - 0x74], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call ebx
cmp eax, 0xffffffff
je 0x4588cb
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0044b8a0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4588ed
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0044b8a0
mov eax, dword [ebp - 0xe8]
mov esi, eax
mov edi, dword [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
cmp eax, edi
je 0x458d83
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x45891a
mov eax, dword [esi]
jmp 0x45891c
mov eax, esi
push eax
call ebx
cmp eax, 0xffffffff
je 0x458d72
sub esp, 8
mov ecx, esi
mov eax, esp
mov dword [eax], str.Secure_Preferences
mov dword [eax + 4], 0x12
lea eax, [ebp - 0xa0]
push eax
call fcn.00412da0
mov edi, dword [ebp - 0xec]
add edi, 0xa0
mov byte [ebp - 4], 0x11
cmp edi, eax
je 0x458968
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00407b20
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x45898a
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x8c], 7
sub esp, 8
mov word [ebp - 0xa0], ax
mov eax, esp
mov dword [ebp - 0x90], 0
mov ecx, esi
mov dword [eax], str.Extensions
mov dword [eax + 4], 0xa
lea eax, [ebp - 0xb8]
push eax
call fcn.00412da0
mov ecx, dword [ebp - 0xec]
add ecx, 0x88
mov byte [ebp - 4], 0x12
cmp ecx, eax
je 0x4589e5
push 0xffffffffffffffff
push 0
push eax
call fcn.00407b20
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x458a07
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
push 0xffffffffffffffff
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
mov ecx, edi
call fcn.0041e650
add esp, 4
lea ecx, [ebp - 0x128]
push 0
call fcn.004d855b
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045e5c0
test al, al
je 0x458d32
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0xf4], eax
je 0x458d27
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0045df10
sub esp, 0xc
mov eax, esp
sub esp, 8
mov ecx, esp
mov dword [eax], 0x566190
mov dword [eax + 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x134]
call fcn.0041d9b0
add esp, 0x14
mov byte [ebp - 4], 0x16
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x100]
mov ebx, dword [ebp - 0x104]
sub ecx, ebx
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0xd8], ecx
je 0x458d01
mov esi, dword [ebp - 0xf0]
mov eax, ecx
nop dword [eax]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x458ce9
cmp dword [ebx + 0x14], 0x10
jb 0x458b55
mov eax, dword [ebx]
jmp 0x458b57
mov eax, ebx
mov dword [ebp - 0x10c], ecx
lea edx, [ebp - 0x110]
push 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x110], eax
call fcn.00417760
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x40]
push dword [ebp - 0xf0]
mov edx, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x134]
push eax
call fcn.0044bcf0
add esp, 0xc
cmp eax, dword [ebp - 0x130]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2c]
sete byte [ebp - 0xd1]
cmp eax, 8
jb 0x458bbb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp byte [ebp - 0xd1], al
je 0x458ce3
cmp dword [ebx + 0x14], 0x10
jb 0x458be5
mov eax, dword [ebx]
jmp 0x458be7
mov eax, ebx
mov dword [ebp - 0x118], eax
lea edx, [ebp - 0x118]
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x28]
push 0
mov dword [ebp - 0x114], eax
call fcn.00417760
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
lea eax, [ebp - 0xd0]
mov ecx, dword [ebp - 0xec]
push eax
lea ecx, [ecx + 0x88]
call fcn.00412da0
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x14], 8
jb 0x458c44
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0xbc]
setne byte [ebp - 0xd1]
cmp eax, 8
jb 0x458c77
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x458cad
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp byte [ebp - 0xd1], al
je 0x458ce3
cmp esi, ebx
je 0x458cd8
push 0xffffffffffffffff
push eax
push ebx
mov ecx, esi
call fcn.00403080
lea ecx, [ebp - 0xf8]
call fcn.0044cd80
mov eax, dword [ebp - 0xd8]
add ebx, 0x18
sub eax, 1
mov dword [ebp - 0xd8], eax
jne 0x458b40
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x15
call fcn.004135a0
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.0041da90
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x458d32
lea ecx, [ebp - 0xf8]
call fcn.0044cd80
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x13
call fcn.004d8681
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x458d5a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403550
mov edi, dword [ebp - 0xe4]
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
add esi, 0x18
mov dword [ebp - 0xdc], esi
cmp esi, edi
jne 0x458910
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x458d9c
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x458dcf
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00403930
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], al
mov ebx, dword [ebp - 0xe8]
test ebx, ebx
je 0x458e44
push dword [ebp - 0x108]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.0044bca0
mov ecx, dword [ebp - 0xe0]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.00413950
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x458e60
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00403930
xor eax, eax
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov al, 1
mov dword [ebp + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469c8e
mov esp, ebp
pop ebp
ret 0x1c