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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d369
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x4b4070]
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 ebx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 4], 1
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
call fcn.00402e80
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x49c]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
mov dword [ebp - 0x49c], 0x2e
call fcn.004037f0
mov edi, eax
mov dword [ebp - 0x454], 7
xor eax, eax
mov dword [ebp - 0x458], 0
push eax
push 0x4a4298
lea ecx, [ebp - 0x468]
mov word [ebp - 0x468], ax
call fcn.00402790
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x4a4298
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call fcn.00402790
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
jne 0x414b69
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x414ad1
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00402d30
xor eax, eax
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x440], 0
cmp eax, 8
jb 0x414b0c
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.00402d30
xor eax, eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x458], 0
cmp eax, 8
jb 0x414b47
inc eax
lea ecx, [ebp - 0x480]
push eax
push dword [ebp - 0x480]
call fcn.00402d30
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
jmp 0x414ed9
push edi
push 0
lea eax, [ebp - 0x438]
mov ecx, ebx
push eax
call fcn.00403730
mov esi, eax
lea eax, [ebp - 0x468]
cmp eax, esi
je 0x414bcd
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x414ba4
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.00402d30
xor eax, eax
mov dword [ebp - 0x454], 7
push esi
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
call fcn.00403c20
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x414bef
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00402d30
mov eax, dword [ebx + 0x10]
mov ecx, ebx
dec eax
push eax
push edi
lea eax, [ebp - 0x438]
push eax
call fcn.00403730
mov esi, eax
lea eax, [ebp - 0x450]
cmp eax, esi
je 0x414c56
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x414c2d
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00402d30
xor eax, eax
mov dword [ebp - 0x43c], 7
push esi
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call fcn.00403c20
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x414c78
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00402d30
lea eax, [ebp - 0x480]
mov edi, 1
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x498]
call fcn.004038b0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x24]
cmp dword [ebp + 0x38], 8
lea eax, [ebp - 0x498]
push dword [ebp + 0x34]
cmovae ecx, dword [ebp + 0x24]
cmp dword [ebp - 0x484], 8
push ecx
cmovae eax, dword [ebp - 0x498]
push dword [ebp - 0x488]
push eax
call fcn.004075a0
add esp, 0x14
test eax, eax
je 0x414e97
xor eax, eax
mov dword [ebp - 0x424], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x438], ax
lea ecx, [ebp - 0x438]
lea eax, [ebp - 0x498]
mov dword [ebp - 0x428], 0
push eax
call fcn.00402e80
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 8
call fcn.00403380
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 4], 7
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x424]
je 0x414d57
cmp eax, 8
jb 0x414d53
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00402d30
mov al, 1
jmp 0x414d71
cmp eax, 8
jb 0x414d6f
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00402d30
xor al, al
test al, al
je 0x414e97
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00448c20
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
lea eax, [ebp - 0x468]
cmovae ecx, dword [ebp - 0x450]
cmp dword [ebp - 0x454], 8
push ecx
cmovae eax, dword [ebp - 0x468]
push edi
push eax
lea eax, [ebp - 0x420]
push str._s__d__s
push eax
call fcn.00402700
add esp, 0x20
cmp word [ebp - 0x420], 0
jne 0x414dd9
xor ecx, ecx
jmp 0x414df1
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414de2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x480]
call fcn.00402790
lea eax, [ebp - 0x480]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x438]
call fcn.004038b0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x498]
cmp eax, esi
je 0x414e6f
mov eax, dword [ebp - 0x484]
cmp eax, 8
jb 0x414e46
inc eax
lea ecx, [ebp - 0x498]
push eax
push dword [ebp - 0x498]
call fcn.00402d30
xor eax, eax
mov dword [ebp - 0x484], 7
push esi
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x488], 0
mov word [ebp - 0x498], ax
call fcn.00403c20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x414e91
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00402d30
inc edi
jmp 0x414cd0
lea eax, [ebp - 0x480]
cmp ebx, eax
je 0x414ead
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00402e80
lea ecx, [ebp - 0x498]
call fcn.004028f0
lea ecx, [ebp - 0x450]
call fcn.004028f0
lea ecx, [ebp - 0x468]
call fcn.004028f0
lea ecx, [ebp - 0x480]
call fcn.004028f0
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x414eee
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00402d30
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x18], 0
cmp eax, 8
jb 0x414f17
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.00402d30
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.0043b44e
mov esp, ebp
pop ebp
ret 0x34