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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e86f
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x487ba4]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x108]
cmp eax, dword [ebx + 0x280]
jne 0x41fddb
mov eax, dword [ebx + 0x3c4]
xor edi, edi
inc edi
cmp eax, edi
jne 0x41fcbf
mov eax, dword [ebx + 0x3cc]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.004021f2
add eax, 0x10
mov dword [esi], eax
push dword [ebx + 0x3c8]
call fcn.0041e1c6
pop ecx
pop ecx
test eax, eax
jne 0x41fca0
push 0x40
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push str.Information
push eax
mov esi, edi
call fcn.0040266c
and dword [esp + 0xc0], 0
push ecx
mov dword [esp + 0x24], esp
mov edi, esp
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push str.tipmsg_close
push eax
call fcn.0040266c
push edi
push dword [ebx + 0x390]
call fcn.0040dcb9
or dword [esp + 0xc4], 0xffffffff
mov eax, esi
mov ecx, ebx
call fcn.004235a4
cmp eax, esi
jne 0x42024a
push 3
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x3c], esp
push str.closetype
call fcn.004070da
call fcn.00413d06
jmp 0x41fdbc
cmp eax, 3
jne 0x41fdbc
mov eax, dword [0x48a144]
mov ecx, 0x48a144
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0xb8], edi
push dword [ebx + 0x3d0]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push str.tipmsg_close2
push eax
call fcn.0040266c
lea eax, [esp + 0x24]
push eax
push dword [ebx + 0x390]
call fcn.0040dcb9
mov byte [esp + 0xbc], 2
push dword [eax]
lea eax, [esp + 0x1c]
call fcn.004044cd
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004026ee
push 0x40
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push str.Information
push eax
call fcn.0040266c
mov byte [esp + 0xc0], 3
mov edi, dword [esp + 0x1c]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.004021f2
add eax, 0x10
mov dword [esi], eax
xor eax, eax
inc eax
mov ecx, ebx
mov byte [esp + 0xc4], 1
call fcn.004235a4
cmp eax, 1
je 0x41fd88
mov eax, edi
jmp 0x420245
mov ecx, dword [ebx + 0x38c]
call fcn.0041b2b4
push 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x38], esp
push str.closetype
call fcn.004070da
call fcn.00413d06
or dword [esp + 0xb8], 0xffffffff
mov eax, edi
call fcn.004026ee
push 1
xor esi, esi
push esi
mov ecx, ebx
call fcn.0042753d
push esi
push esi
push 0x81bc
mov ecx, ebx
call fcn.00427880
jmp 0x42024a
lea ecx, [ebx + 0x28c]
cmp eax, dword [ecx]
je 0x41ff64
cmp eax, dword [ebx + 0x294]
jne 0x41fe03
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
jne 0x41ff64
mov eax, dword [esi + 0x108]
cmp eax, dword [ebx + 0x2b4]
je 0x41ff48
cmp eax, dword [ebx + 0x2b8]
je 0x41ff48
cmp eax, dword [ebx + 0x2bc]
je 0x41ff48
cmp eax, dword [ebx + 0x2b0]
jne 0x41fe52
cmp dword [ebx + 0x37c], 0x222
jne 0x41fe4e
cmp dword [ebx + 0x380], 2
jne 0x41fe4e
push 0
jmp 0x41fe71
push 2
jmp 0x41fe71
cmp eax, dword [ebx + 0x2ac]
jne 0x41fe7d
cmp dword [ebx + 0x37c], 0x222
jne 0x41fe6f
cmp dword [ebx + 0x380], 3
je 0x41fe4a
push 3
mov ecx, ebx
call fcn.00421d98
jmp 0x42024a
cmp eax, dword [ebx + 0x2c8]
jne 0x41fe91
mov esi, ebx
call fcn.0041facc
jmp 0x42024a
cmp eax, dword [ebx + 0x2e0]
je 0x41ff3c
cmp eax, dword [ebx + 0x284]
je 0x41ff3c
cmp eax, dword [ebx + 0x290]
je 0x41fed3
cmp eax, dword [ebx + 0x298]
jne 0x42024a
mov ecx, dword [ebx + 0x290]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x42024a
mov ecx, dword [ebx + 0x290]
mov eax, dword [ecx]
xor edi, edi
push edi
call dword [eax + 0xd8]
mov ecx, dword [ebx + 0x298]
mov eax, dword [ecx]
push edi
call dword [eax + 0xd8]
push 1
push edi
mov ecx, ebx
call fcn.0042753d
mov eax, ebx
call fcn.00423732
lea esi, [ebx + 0x38c]
mov ecx, dword [esi]
call fcn.0041b16f
test al, al
je 0x41ff1c
mov ecx, dword [esi]
call fcn.0041b2b4
push edi
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x3c], esp
push str.closetype
call fcn.004070da
call fcn.00413d06
push edi
push edi
jmp 0x41fdca
mov esi, ebx
call fcn.00420262
jmp 0x42024a
cmp dword [ebx + 0x37c], 0x1d2
mov ecx, ebx
je 0x41ff5d
push 1
jmp 0x41fe73
push 0
jmp 0x41fe73
mov eax, dword [ebx + 0x3cc]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.004021f2
add eax, 0x10
mov dword [esi], eax
push dword [ebx + 0x3c8]
call fcn.0041e1c6
pop ecx
pop ecx
test eax, eax
je 0x420063
mov eax, dword [0x48a144]
mov ecx, 0x48a144
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb8], 4
push dword [ebx + 0x3d0]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push str.tipmsg_installed
push eax
call fcn.0040266c
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0x390]
call fcn.0040dcb9
mov byte [esp + 0xbc], 5
push dword [eax]
lea eax, [esp + 0x24]
call fcn.004044cd
mov byte [esp + 0xc0], 4
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004026ee
push 0x40
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push str.Information
push eax
call fcn.0040266c
mov byte [esp + 0xc0], 6
mov esi, dword [esp + 0x24]
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [esp + 0x30], esp
mov edi, esp
call fcn.004021f2
add eax, 0x10
mov dword [edi], eax
xor eax, eax
inc eax
mov ecx, ebx
mov byte [esp + 0xc4], 4
call fcn.004235a4
cmp eax, 1
mov eax, esi
jne 0x420245
or dword [esp + 0xb8], 0xffffffff
call fcn.004026ee
lea esi, [ebx + 0x2a4]
mov ecx, dword [esi]
call fcn.004292da
mov ecx, dword [esi]
push 1
call fcn.004292d2
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
mov edi, 0x47ac8c
push edi
mov byte [0x48b738], 1
call fcn.004070da
sub esp, 0x1c
mov dword [esp + 0xf0], 7
mov esi, esp
mov dword [esp + 0x54], esp
push str.isjoinexp
call fcn.004070da
or dword [esp + 0xf0], 0xffffffff
call fcn.00413ca3
mov eax, dword [ebx + 0x38c]
add eax, 0x498
push edi
push eax
call fcn.00403f6b
mov ecx, dword [ebx + 0x2c4]
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
call dword [eax + 0x28]
mov ecx, eax
mov dword [esp + 0xb8], 8
call fcn.00428ab6
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040266c
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0xa
call fcn.00428966
lea eax, [esp + 0x14]
call fcn.00401d0e
call fcn.00401d5e
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x42022e
add eax, 0xfffffff0
call fcn.004021f2
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42014b
lea eax, [esi - 0x10]
call fcn.004026ee
jmp 0x42016c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
cmp eax, 0x10
lea eax, [esi - 0x10]
sete byte [esp + 0x23]
call fcn.004026ee
cmp byte [esp + 0x23], 0
jne 0x4201c2
push 0x10
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
push str.Error
push eax
xor esi, esi
call fcn.0040266c
push ecx
mov edi, esp
mov byte [esp + 0xc4], 0xb
mov dword [esp + 0x24], esp
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push str.errmsg_pathnoexist
push eax
call fcn.0040266c
push edi
push dword [ebx + 0x390]
call fcn.0040dcb9
mov eax, esi
mov ecx, ebx
mov byte [esp + 0xc4], 0xa
call fcn.004235a4
jmp 0x42023e
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x42022e
push 0x5c
lea esi, [esp + 0x18]
call fcn.00403d93
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x420219
lea eax, [esp + 0x18]
push 0x479d68
push eax
mov ecx, esi
call fcn.00403e85
pop ecx
pop ecx
mov edi, esi
mov byte [esp + 0xb8], 0xc
call fcn.00401bf4
mov byte [esp + 0xb8], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004026ee
mov eax, dword [ebx + 0x38c]
push dword [esp + 0x14]
add eax, 0x4d0
push eax
call fcn.00403f6b
push 0
push 0
push 0x8065
mov ecx, ebx
call fcn.00427880
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004026ee
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4